From dedc82d564993139f72102e3d2330f2fb64b1244 Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Wed, 10 Jan 2018 11:44:23 -0500 Subject: Add Nullable Lab Field to Resources Jira: PHAROS-347 Resources are now possible to associate with lab instances upon creation Change-Id: Id8abbcc448a6d840d55e4bf5130dbec22c8bc58f --- src/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/serializers.py b/src/api/serializers.py index 794e139..ad9b800 100644 --- a/src/api/serializers.py +++ b/src/api/serializers.py @@ -33,7 +33,7 @@ class ServerSerializer(serializers.ModelSerializer): class ResourceSerializer(serializers.ModelSerializer): class Meta: model = Resource - fields = ('id', 'name', 'description', 'url', 'server_set', 'dev_pod') + fields = ('id', 'name', 'description', 'resource_lab', 'url', 'server_set', 'dev_pod') class ResourceStatusSerializer(serializers.ModelSerializer): class Meta: -- cgit 1.2.3-korg