From df7b8ce6cc2fbd55b9b3cf12beee2fba85ed6071 Mon Sep 17 00:00:00 2001 From: histausse Date: Tue, 1 Sep 2020 16:03:34 +0200 Subject: [PATCH] Add dormitory to the building serialiser --- topologie/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topologie/api/views.py b/topologie/api/views.py index 8c504499..4cdd5470 100644 --- a/topologie/api/views.py +++ b/topologie/api/views.py @@ -119,7 +119,7 @@ class DormitoryViewSet(viewsets.ReadOnlyModelViewSet): objects. """ - queryset = topologie.Room.objects.all() + queryset = topologie.Dormitory.objects.all() serializer_class = serializers.DormitorySerializer class PortProfileViewSet(viewsets.ReadOnlyModelViewSet):