Commit 235600c3 authored by Gary Wilson Jr's avatar Gary Wilson Jr
Browse files

Fixed #9724 -- Added missing import to URLconf example, thanks shacker.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent ff3e1a7d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -67,6 +67,8 @@ required. For example, if we have a line in ``settings.py`` that says::

...we could write the above :ref:`URLconf <topics-http-urls>` entry as::

    from django.conf import settings
    ...
    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
            {'document_root': settings.STATIC_DOC_ROOT}),