mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-06-03 10:59:38 +00:00
Reworked some computes forms and views
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user