diff options
author | Leif Johansson <leifj@sunet.se> | 2013-03-04 08:11:25 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2013-03-04 08:11:25 +0100 |
commit | af37a0b245f555c0687467e123cd2be9c1ff66bd (patch) | |
tree | e3b8b2590ae42edb4c3326780aaba89346d5a8b7 /meetingtools | |
parent | 2752cb0857dc3c7e5e9a06a7e713b0fdb71f6aba (diff) |
prefetch tags - not so much
Diffstat (limited to 'meetingtools')
-rw-r--r-- | meetingtools/apps/room/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'}, |