Django

Code

Changeset 700

Show
Ignore:
Timestamp:
09/26/05 08:38:49 (3 years ago)
Author:
jacob
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/views/static.py

    r683 r700  
    1414    To use, put a URL pattern like:: 
    1515         
    16         (r'^(?P<path>).*)$', 'django.views.static.serve', {'document_root' : '/path/to/my/files/'}) 
     16        (r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root' : '/path/to/my/files/'}) 
    1717      
    1818    in your URL conf; you must provide the ``document_root`` param.  You may