mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-07 04:49:37 +00:00
Initial commit
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user