소스 검색

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

Amankumar Singh 4 년 전
부모
커밋
51637222b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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