diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-03 21:40:32 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-03 21:40:32 +0100 |
commit | 0c368ce4661c91f77aa79f189c4be11de5d94d27 (patch) | |
tree | 5dfb937d1231de1d1ea7134d5d411ded6313e77a /todolists | |
parent | 3a85ead4475b8acfa236a5b1825b844d0431bbaf (diff) | |
download | archweb-0c368ce4661c91f77aa79f189c4be11de5d94d27.tar.gz archweb-0c368ce4661c91f77aa79f189c4be11de5d94d27.tar.xz |
Correct some permission decorators
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists')
-rw-r--r-- | todolists/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py index 519fae9..7d00080 100644 --- a/todolists/views.py +++ b/todolists/views.py @@ -32,7 +32,7 @@ class TodoListForm(forms.Form): return packages -@login_required +@permission_required('main.change_todolistpkg') @never_cache def flag(request, listid, pkgid): list = get_object_or_404(Todolist, id=listid) |