summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-10-11 22:19:51 +0200
committerLeif Johansson <leifj@sunet.se>2011-10-11 22:19:51 +0200
commitbf622146949f5f2741619aa44ce1376d0cef17d9 (patch)
tree8b4194faa3e20a986fb7d5cf60a03c4b6d4a4fd5
parent4be7af236045e9479ae76a40ca606b26426d9153 (diff)
avoid caching the tagging dialog too
-rw-r--r--src/meetingtools/apps/room/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index 35c295d..0cc6cbe 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -442,7 +442,8 @@ def untag(request,rid,tag):
Tag.objects.update_tags(room, ' '.join(new_tags))
return redirect_to("/room/%d/tag" % room.id)
-@login_required
+@never_cache
+@login_required
def tag(request,rid):
room = get_object_or_404(Room,pk=rid)
if request.method == 'POST':