summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-06-27 21:07:10 -0400
committerDusty Phillips <buchuki@gmail.com>2008-06-27 21:07:10 -0400
commit6b013d99fcfb596cbbdfb53fa03a07888dde1e9b (patch)
tree5143e5b28ce3494e968bf76aba7aa67436aab2fb /urls.py
parent28464f50f4ab1b6ad9ce834f405dd9bad7519acf (diff)
add an 'edit todolist' functionality
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/urls.py b/urls.py
index fc544c74..5c811bf3 100644
--- a/urls.py
+++ b/urls.py
@@ -15,10 +15,11 @@ urlpatterns = patterns('',
(r'^packages/(?P<repo>[A-z0-9]+)/(?P<name>[A-z0-9]+)/$', 'archweb_dev.packages.views.details'),
(r'^packages/$', 'archweb_dev.packages.views.search'),
- (r'^todo/(\d+)/$', 'archweb_dev.todolists.views.view'),
- (r'^todo/add/$', 'archweb_dev.todolists.views.add'),
- (r'^todo/flag/(\d+)/(\d+)/$', 'archweb_dev.todolists.views.flag'),
- (r'^todo/$', 'archweb_dev.todolists.views.list'),
+ (r'^todo/(\d+)/$', 'archweb_dev.todolists.views.view'),
+ (r'^todo/add/$', 'archweb_dev.todolists.views.add'),
+ (r'^todo/edit/(?P<list_id>\d+)/$', 'archweb_dev.todolists.views.edit'),
+ (r'^todo/flag/(\d+)/(\d+)/$', 'archweb_dev.todolists.views.flag'),
+ (r'^todo/$', 'archweb_dev.todolists.views.list'),
(r'^news/(\d+)/$', 'archweb_dev.news.views.view'),
(r'^news/add/$', 'archweb_dev.news.views.add'),