diff options
-rw-r--r-- | nop/urls.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nop/urls.py b/nop/urls.py index a4700cf..0521a74 100644 --- a/nop/urls.py +++ b/nop/urls.py @@ -1,7 +1,8 @@ from django.conf.urls.defaults import patterns, url -from views import get, get_current +from views import get, get_current, nop_form urlpatterns = patterns('', - url(r'^$', get_current), + 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'^$', nop_form), ) |