Commit b7d22c8a by Belákovics Ádám

Add flavor and lease in get vm response

parent 51abbc49
Pipeline #1367 failed with stages
in 3 seconds
......@@ -23,8 +23,8 @@ class InstanceListItemSerializer(serializers.ModelSerializer):
class InstanceSerializer(serializers.ModelSerializer):
lease = serializers.PrimaryKeyRelatedField(read_only=True)
flavor = serializers.PrimaryKeyRelatedField(read_only=True)
lease = LeaseSerializer()
flavor = FlavorSerializer()
class Meta:
model = Instance
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment