diff options
| author | Amankumar Singh <singhamankumar1202@gmail.com> | 2021-02-05 20:03:53 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-05 15:33:53 +0100 |
| commit | 51637222b6eeed81d9ce6f5d24e22e249c605ba3 (patch) | |
| tree | c169f4eda98199e6fa9efe933b665fa200d8f473 /docs/howto/static-files | |
| parent | 8e90560aa8868a42bb8eda6273595bf0932a6090 (diff) | |
Fixed #32419 -- Clarified URLconf in example of serving media files.
Diffstat (limited to 'docs/howto/static-files')
| -rw-r--r-- | docs/howto/static-files/index.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/static-files/index.txt b/docs/howto/static-files/index.txt index 001ec50d6b..0a0e7bedd0 100644 --- a/docs/howto/static-files/index.txt +++ b/docs/howto/static-files/index.txt @@ -120,7 +120,7 @@ This is not suitable for production use! For some common deployment strategies, see :doc:`/howto/static-files/deployment`. For example, if your :setting:`MEDIA_URL` is defined as ``/media/``, you can do -this by adding the following snippet to your urls.py:: +this by adding the following snippet to your :setting:`ROOT_URLCONF`:: from django.conf import settings from django.conf.urls.static import static |
