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
12
computes/models.py
Normal file
12
computes/models.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from django.db import models
|
||||
|
||||
|
||||
class Compute(models.Model):
|
||||
name = models.CharField(max_length=20)
|
||||
hostname = models.CharField(max_length=20)
|
||||
login = models.CharField(max_length=20)
|
||||
password = models.CharField(max_length=14, blank=True, null=True)
|
||||
type = models.IntegerField()
|
||||
|
||||
def __unicode__(self):
|
||||
return self.hostname
|
||||
Loading…
Add table
Add a link
Reference in a new issue