1
0
Fork 0
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:
Real-Gecko 2020-05-29 19:25:36 +06:00
parent 5ab22ba947
commit 7103c52380
8 changed files with 136 additions and 380 deletions

View file

@ -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)