From d192d751e15f0573c9ebb16cf5173ab9c3ae3801 Mon Sep 17 00:00:00 2001 From: Amankumar Singh Date: Fri, 5 Feb 2021 20:03:53 +0530 Subject: [PATCH] [3.2.x] Fixed #32419 -- Clarified URLconf in example of serving media files. Backport of 51637222b6eeed81d9ce6f5d24e22e249c605ba3 from master --- docs/howto/static-files/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/howto/static-files/index.txt b/docs/howto/static-files/index.txt index 001ec50d6b1..0a0e7bedd01 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