mirror of
https://github.com/django/django.git
synced 2025-07-23 21:25:40 +00:00
[3.1.x] Updated {% static %} tag examples in docs to use single quotes where appropriate.
Backport of 42f3fafdfa
from master
This commit is contained in:
parent
e707a1bd9a
commit
31946faf4f
4 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ Configuring static files
|
|||
.. code-block:: html+django
|
||||
|
||||
{% load static %}
|
||||
<img src="{% static "my_app/example.jpg" %}" alt="My image">
|
||||
<img src="{% static 'my_app/example.jpg' %}" alt="My image">
|
||||
|
||||
#. Store your static files in a folder called ``static`` in your app. For
|
||||
example ``my_app/static/my_app/example.jpg``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue