summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Osborn <tim@memelab.com.au>2016-03-09 14:45:06 +1100
committerMarkus Holtermann <info@markusholtermann.eu>2016-03-09 14:55:55 +1100
commit8fb3a2877bac1ecf0e5665389d60eab637d1622e (patch)
treee1bd7f2530d86dab3ecea5ee4cb9accdfa753703 /docs
parentecbdedfc6948d6c08c18ce935b02406139310e7f (diff)
Fixed indenting in "Serving files in development" code example
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/views.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/views.txt b/docs/ref/views.txt
index 8069264039..d0dc595464 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<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,