summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/static-files/index.txt3
-rw-r--r--docs/ref/settings.txt2
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/howto/static-files/index.txt b/docs/howto/static-files/index.txt
index db2b520543..9bdfc2fd82 100644
--- a/docs/howto/static-files/index.txt
+++ b/docs/howto/static-files/index.txt
@@ -71,6 +71,9 @@ details on how ``staticfiles`` finds your files.
by putting those static files inside *another* directory named for the
application itself.
+ You can namespace static assets in :setting:`STATICFILES_DIRS` by
+ specifying :ref:`prefixes <staticfiles-dirs-prefixes>`.
+
.. _serving-static-files-in-development:
Serving static files during development
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 917ffeebb4..b4a5bdc48f 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -3430,6 +3430,8 @@ your additional files directory(ies) e.g.::
Note that these paths should use Unix-style forward slashes, even on Windows
(e.g. ``"C:/Users/user/mysite/extra_static_content"``).
+.. _staticfiles-dirs-prefixes:
+
Prefixes (optional)
~~~~~~~~~~~~~~~~~~~