summaryrefslogtreecommitdiff
path: root/docs/ref/settings.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-01-17 15:58:19 -0500
committerTim Graham <timograham@gmail.com>2014-01-17 16:06:11 -0500
commitbc7668eb515b8ee7a32fbfb64dc4dff4d06abb5b (patch)
treecc606f5cc8c02bbe6633e64da1f5ff4ed1bbef14 /docs/ref/settings.txt
parent4a5aac47a619a27c2458cfdcba56d53b05c789ad (diff)
Fixed #18942 -- Clarified usage of {% get_static_prefix %}.
Thanks Aymeric for the suggestion.
Diffstat (limited to 'docs/ref/settings.txt')
-rw-r--r--docs/ref/settings.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 4181d152ef..e7ee4013c2 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -2628,9 +2628,7 @@ tuples, e.g.::
("downloads", "/opt/webfiles/stats"),
)
-Example:
-
-Assuming you have :setting:`STATIC_URL` set ``'/static/'``, the
+For example, assuming you have :setting:`STATIC_URL` set to ``'/static/'``, the
:djadmin:`collectstatic` management command would collect the "stats" files
in a ``'downloads'`` subdirectory of :setting:`STATIC_ROOT`.
@@ -2640,7 +2638,7 @@ This would allow you to refer to the local file
.. code-block:: html+django
- <a href="{{ STATIC_URL }}downloads/polls_20101022.tar.gz">
+ <a href="{% static "downloads/polls_20101022.tar.gz" %}">
.. setting:: STATICFILES_STORAGE