mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Reworked some computes forms and views
This commit is contained in:
parent
5ab22ba947
commit
7103c52380
8 changed files with 136 additions and 380 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