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):