mirror of
https://github.com/django/django.git
synced 2025-05-06 06:56:30 +00:00
[3.2.x] Fixed #32419 -- Clarified URLconf in example of serving media files.
Backport of 51637222b6eeed81d9ce6f5d24e22e249c605ba3 from master
This commit is contained in:
parent
d881a0ea3b
commit
d192d751e1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user