diff options
Diffstat (limited to 'nop/urls.py')
-rw-r--r-- | nop/urls.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nop/urls.py b/nop/urls.py index c4012a6..0d7f279 100644 --- a/nop/urls.py +++ b/nop/urls.py @@ -8,7 +8,9 @@ NOP_STATIC_DIR = os.path.join(os.path.dirname(__file__), 'site_media') urlpatterns = patterns( '', url(r'^/get_current/?$', get_current), - url(r'^/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<hour>\d{1,2})/(?P<minute>\d{1,2})/?$', get), + url(r'^/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<hour>\d{1,2})/(?P<minute>\d{1,2})/?$', + get), url(r'^/?$', nop_form), - url(r'^/static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': NOP_STATIC_DIR}), + url(r'^/static/(?P<path>.*)$', 'django.views.static.serve', + {'document_root': NOP_STATIC_DIR}), ) |