summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/room/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools/apps/room/views.py')
-rw-r--r--src/meetingtools/apps/room/views.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index 2921489..85b44e2 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -205,8 +205,6 @@ def _import_room(request,acc,sco_id,source_sco_id,folder_sco_id,name,urlpath):
logging.debug(room.id)
room.save()
-
-
return room
@login_required
@@ -229,6 +227,10 @@ def list(request):
r.delete()
return respond_to(request,{'text/html':'apps/room/list.html'},{'user':request.user,'rooms':Room.objects.filter(creator=request.user).all()})
+def rooms_by_group(request,group):
+ for room in Room.objects.filter(participants=group):
+ pass
+
@login_required
def delete(request,id):
room = get_object_or_404(Room,pk=id)