Skip to content
Snippets Groups Projects
Verified Commit 0ad75c4b authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Fix list of all rooms.

parent 1c2fb3ee
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ from datetime import datetime
from .mailer import send_mail_with_template
from untisconnect.api import get_all_rooms
from aleksis.apps.chronos.models import Room
from aleksis.core.models import Activity
......@@ -92,7 +92,7 @@ def rebus(request):
else:
form = REBUSForm()
rooms = [room.name for room in get_all_rooms()]
rooms = [room.name for room in Room.objects.all()]
return render(request, 'hjelp/rebus.html', {'form': form, "props": {"rooms": "rooms"}})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment