From af37a0b245f555c0687467e123cd2be9c1ff66bd Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 4 Mar 2013 08:11:25 +0100 Subject: prefetch tags - not so much --- meetingtools/apps/room/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meetingtools') diff --git a/meetingtools/apps/room/views.py b/meetingtools/apps/room/views.py index ffd222d..c809113 100644 --- a/meetingtools/apps/room/views.py +++ b/meetingtools/apps/room/views.py @@ -323,7 +323,7 @@ def list_rooms(request,username=None): rooms = [] if user: - rooms = Room.objects.filter(creator=user).order_by('name').all().prefetch_related("creator","sco","folder_sco","source_sco","deleted_sco","tags") + rooms = Room.objects.filter(creator=user).order_by('name').all().prefetch_related("creator","sco","folder_sco","source_sco","deleted_sco") return respond_to(request, {'text/html':'apps/room/list.html'}, -- cgit v1.1