mirror of
https://github.com/retspen/webvirtcloud
synced 2026-03-22 18:44:49 +00:00
Reworked some computes forms and views
This commit is contained in:
parent
9efbf732af
commit
c07bb3cccf
9 changed files with 154 additions and 384 deletions
|
|
@ -2,7 +2,7 @@ from django.db.models import Model, CharField, IntegerField
|
|||
|
||||
|
||||
class Compute(Model):
|
||||
name = CharField(max_length=64)
|
||||
name = CharField(max_length=64, unique=True)
|
||||
hostname = CharField(max_length=64)
|
||||
login = CharField(max_length=20)
|
||||
password = CharField(max_length=14, blank=True, null=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue