diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2011-05-12 16:50:40 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2011-05-12 16:50:40 (GMT) |
commit | 3a049a53ac4de64a87911e70f8467e72a4769373 (patch) | |
tree | 93aee04da2532fa73bd0dfb29dfcc22ac8ed656d | |
parent | 8f9b06d150db0fa5648058842004aca9e750f8bc (diff) |
different url schema for get_current, include nop_form
-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), ) |