Browse files

Fixed type in static view URL pattern example (refs #428)

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
jacobian committed Sep 26, 2005
1 parent adce221 commit 2a072999cade3a0ce8ae3b4bf09cf0d6cb06f257
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/views/
@@ -13,7 +13,7 @@ def serve(request, path, document_root=None, show_indexes=False):
To use, put a URL pattern like::
(r'^(?P<path>).*)$', 'django.views.static.serve', {'document_root' : '/path/to/my/files/'})
(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root' : '/path/to/my/files/'})
in your URL conf; you must provide the ``document_root`` param. You may
also set ``show_indexes`` to ``True`` if you'd like to serve a basic index

0 comments on commit 2a07299

Please sign in to comment.