8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 22:22:26 +00:00

Add building to the room serialiser

This commit is contained in:
histausse 2020-09-01 14:01:19 +02:00 committed by klafyvel
parent 692da0dfae
commit a3909e090d

View file

@ -176,7 +176,7 @@ class RoomSerializer(NamespacedHMSerializer):
class Meta: class Meta:
model = topologie.Room model = topologie.Room
fields = ("name", "details", "api_url") fields = ("name", "building", "details", "api_url")
class PortProfileSerializer(NamespacedHMSerializer): class PortProfileSerializer(NamespacedHMSerializer):