summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools')
-rw-r--r--src/meetingtools/apps/room/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index 51abb88..11eca02 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -26,6 +26,7 @@ from meetingtools.ac.api import ACPClient
from tagging.models import Tag, TaggedItem
import random, string
from django.utils.feedgenerator import rfc3339_date
+from django.views.decorators.cache import cache_control
def _acc_for_user(user):
(local,domain) = user.username.split('@')
@@ -187,6 +188,7 @@ def _update_room(request, room, form=None):
return room
@login_required
+@cache_control(no_cache=True)
def create(request):
acc = _acc_for_user(request.user)
my_meetings_sco_id = _user_meeting_folder(request,acc)
@@ -211,6 +213,7 @@ def create(request):
return respond_to(request,{'text/html':'apps/room/create.html'},{'form':form,'formtitle': title,'cancelname':'Cancel','submitname':'%s Room' % what})
@login_required
+@cache_control(no_cache=True)
def update(request,id):
room = get_object_or_404(Room,pk=id)
acc = room.acc