#24025: improve documents -------------------------------+-------------------------------------- Reporter: ahnjungho | Owner: nobody Type: Uncategorized | Status: closed Component: Documentation | Version: master Severity: Normal | Resolution: worksforme 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 timgraham):
* status: new => closed * resolution: => worksforme Old 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!" /> > }}} New 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!" /> }}} -- Comment: The syntax is valid and many projects use it. I think it's fine. -- Ticket URL: <https://code.djangoproject.com/ticket/24025#comment:2> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.61d6d985ff218edf4dbacab78e34144e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.