diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-07-08 21:20:06 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-07-08 21:20:06 -0400 |
commit | e354b32898e80fef7b1bc39113c446836790fb99 (patch) | |
tree | 08dd3ed7cc26d8badda03d96ee63b1464d5de547 /urls.py | |
parent | cb5b8a5ccddd575960efae92f98d8e8448a893e2 (diff) |
fix up permissions on todolists
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ urlpatterns = patterns('', (r'^todo/edit/(?P<list_id>\d+)/$', 'archweb_dev.todolists.views.edit'), (r'^todo/flag/(\d+)/(\d+)/$', 'archweb_dev.todolists.views.flag'), (r'^todo/delete/(?P<object_id>\d+)/$', permission_required( - 'delete_todo_list')(delete_object), { + 'main.delete_todolist')(delete_object), { 'model': Todolist, 'template_name': 'todolists/todolist_confirm_delete.html', 'post_delete_redirect': '/todo/' |