mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Initial commit
This commit is contained in:
commit
4d48e79341
87 changed files with 5637 additions and 0 deletions
11
instances/models.py
Normal file
11
instances/models.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from django.db import models
|
||||
from computes.models import Compute
|
||||
|
||||
|
||||
class Instance(models.Model):
|
||||
compute = models.ForeignKey(Compute)
|
||||
name = models.CharField(max_length=20)
|
||||
uuid = models.CharField(max_length=36)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
Loading…
Add table
Add a link
Reference in a new issue