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

Add building to the room serialiser

This commit is contained in:
histausse 2020-09-01 14:01:19 +02:00
parent d5cfe2edd2
commit ae3c205a9d

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