mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 15:33:45 +00:00
Add dormitory to the building serialiser
This commit is contained in:
parent
62d5139784
commit
df7b8ce6cc
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue