Browse Source

Fixed #32419 -- Clarified URLconf in example of serving media files.

Amankumar Singh 4 years ago
parent
commit
51637222b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/howto/static-files/index.txt

+ 1 - 1
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