diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-06-27 21:07:10 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-06-27 21:07:10 -0400 |
commit | 6b013d99fcfb596cbbdfb53fa03a07888dde1e9b (patch) | |
tree | 5143e5b28ce3494e968bf76aba7aa67436aab2fb /urls.py | |
parent | 28464f50f4ab1b6ad9ce834f405dd9bad7519acf (diff) |
add an 'edit todolist' functionality
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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'), |