From ae3c205a9db2e9cac659c169629ec2afd89b2e54 Mon Sep 17 00:00:00 2001 From: histausse Date: Tue, 1 Sep 2020 14:01:19 +0200 Subject: [PATCH] Add building to the room serialiser --- topologie/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topologie/api/serializers.py b/topologie/api/serializers.py index 18785ebb..1839fcc8 100644 --- a/topologie/api/serializers.py +++ b/topologie/api/serializers.py @@ -176,7 +176,7 @@ class RoomSerializer(NamespacedHMSerializer): class Meta: model = topologie.Room - fields = ("name", "details", "api_url") + fields = ("name", "building", "details", "api_url") class PortProfileSerializer(NamespacedHMSerializer):