瀏覽代碼

Fixed indenting in "Serving files in development" code example

Tim Osborn 9 年之前
父節點
當前提交
8fb3a2877b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/ref/views.txt

+ 1 - 1
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,