forked from uncloud/uncloud
Entry point /beta/vm/ works for creating VM + order
This commit is contained in:
parent
9ef5309b91
commit
028f1ebe6e
5 changed files with 28 additions and 38 deletions
|
|
@ -122,6 +122,7 @@ class OrderVMProductSerializer(VMProductSerializer):
|
|||
|
||||
class NicoVMProductSerializer(serializers.ModelSerializer):
|
||||
snapshots = VMSnapshotProductSerializer(many=True, read_only=True)
|
||||
order = serializers.StringRelatedField()
|
||||
|
||||
class Meta:
|
||||
model = VMProduct
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue