forked from uncloud/uncloud
Cleanup VMProduct serializer, add name field to VMProduct
This commit is contained in:
parent
b3bbfafa04
commit
181005ad6c
2 changed files with 7 additions and 5 deletions
|
|
@ -41,6 +41,10 @@ class VMProduct(Product):
|
|||
null=True)
|
||||
|
||||
description = "Virtual Machine"
|
||||
|
||||
# VM-specific. The name is only intended for customers: it's a pain te
|
||||
# remember IDs (speaking from experience as ungleich customer)!
|
||||
name = models.CharField(max_length=32)
|
||||
cores = models.IntegerField()
|
||||
ram_in_gb = models.FloatField()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue