From 8fb3a2877bac1ecf0e5665389d60eab637d1622e Mon Sep 17 00:00:00 2001 From: Tim Osborn Date: Wed, 9 Mar 2016 14:45:06 +1100 Subject: [PATCH] Fixed indenting in "Serving files in development" code example --- docs/ref/views.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/views.txt b/docs/ref/views.txt index 8069264039c..d0dc5954649 100644 --- a/docs/ref/views.txt +++ b/docs/ref/views.txt @@ -35,7 +35,7 @@ built-in handling for user-uploaded files, but you can have Django serve your url(r'^media/(?P.*)$', 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,