diff options
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'), |