Opened 11 years ago
Closed 11 years ago
#24025 closed Uncategorized (worksforme)
improve documents — at Version 2
| 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 (last modified by )
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 (2)
comment:1 by , 11 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 11 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The syntax is valid and many projects use it. I think it's fine.