[1.8.x] Fixed indenting in "Serving files in development" code example

Backport of 8fb3a2877b from master
This commit is contained in:
Tim Osborn 2016-03-09 14:45:06 +11:00 committed by Markus Holtermann
parent 4d1a1bce81
commit ae4d932b1a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ built-in handling for user-uploaded files, but you can have Django serve your
url(r'^media/(?P<path>.*)$', serve, {
'document_root': settings.MEDIA_ROOT,
}),
]
]
Note, the snippet assumes your :setting:`MEDIA_URL` has a value of
``'/media/'``. This will call the :func:`~django.views.static.serve` view,