#24025: improve documents
-------------------------------+--------------------------------------
     Reporter:  ahnjungho      |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Documentation  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by ahnjungho):

 * needs_docs:   => 0
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Old description:

> This is a line 33 of
> [https://github.com/django/django/blob/master/docs/howto/static-
> files/index.txt]
>
> {{{
> <img src="{% static "my_app/myexample.jpg" %}" alt="My image"/>
> }}}
>
> Double quote includes double quote. I think it is ambiguous.
>
> How about using single quote?
>
> {{{
> <img src="{% static 'my_app/myexample.jpg' %}" alt="My image"/>
> }}}
>
> A line 346 of
> [https://github.com/django/django/blob/master/docs/ref/contrib/staticfiles.txt]
> has the same problem.
>
> {{{
> <img src="{% static "images/hi.jpg" %}" alt="Hi!" />
> }}}

New description:

 This is 33rd line of
 [https://github.com/django/django/blob/master/docs/howto/static-
 files/index.txt]

 {{{
 <img src="{% static "my_app/myexample.jpg" %}" alt="My image"/>
 }}}

 Double quote includes double quote. I think it is ambiguous.

 How about using single quote?

 {{{
 <img src="{% static 'my_app/myexample.jpg' %}" alt="My image"/>
 }}}

 346th line of
 [https://github.com/django/django/blob/master/docs/ref/contrib/staticfiles.txt]
 has the same problem.

 {{{
 <img src="{% static "images/hi.jpg" %}" alt="Hi!" />
 }}}

--

--
Ticket URL: <https://code.djangoproject.com/ticket/24025#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.2128c838c0bc3c7d951eac17edcd055d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to