#28314: Quote error in documentation
----------------------------------------------+------------------------
Reporter: Christian González | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
----------------------------------------------+------------------------
On https://docs.djangoproject.com/en/dev/howto/static-files/, "Configuring
static files", 3. in the example, there is a template line:
{{{
<img src="{% static "my_app/example.jpg" %}" alt="My image"/>
}}}
This is not working, as the " are set wrong. What would work is using
single quotes for the inner string:
{{{
<img src="{% static 'my_app/example.jpg' %}" alt="My image"/>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28314>
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/049.4e954ce883afbb4c61a63c8c898569a3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.