Opened 10 years ago

Last modified 10 years ago

#24025 closed Uncategorized

improve documents — at Initial Version

Reported by: Ahn Jungho Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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!" />

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top