diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/settings.txt | 2 | ||||
| -rw-r--r-- | docs/ref/templates/builtins.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index e1b1410f62..606ef98744 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -3471,7 +3471,7 @@ This would allow you to refer to the local file .. code-block:: html+django - <a href="{% static "downloads/polls_20101022.tar.gz" %}"> + <a href="{% static 'downloads/polls_20101022.tar.gz' %}"> .. setting:: STATICFILES_STORAGE diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 7fd44b01d7..1c79f3a2f5 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2618,7 +2618,7 @@ app is installed, the tag will serve files using ``url()`` method of the storage specified by :setting:`STATICFILES_STORAGE`. For example:: {% load static %} - <img src="{% static "images/hi.jpg" %}" alt="Hi!"> + <img src="{% static 'images/hi.jpg' %}" alt="Hi!"> It is also able to consume standard context variables, e.g. assuming a ``user_stylesheet`` variable is passed to the template:: |
