8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 12:23:11 +00:00

Add dormitory to the building serialiser

This commit is contained in:
histausse 2020-09-01 16:03:34 +02:00
parent 62d5139784
commit df7b8ce6cc

View file

@ -119,7 +119,7 @@ class DormitoryViewSet(viewsets.ReadOnlyModelViewSet):
objects. objects.
""" """
queryset = topologie.Room.objects.all() queryset = topologie.Dormitory.objects.all()
serializer_class = serializers.DormitorySerializer serializer_class = serializers.DormitorySerializer
class PortProfileViewSet(viewsets.ReadOnlyModelViewSet): class PortProfileViewSet(viewsets.ReadOnlyModelViewSet):