mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
added user disk quota limit
added quota warning in instance page
This commit is contained in:
parent
6546fa2570
commit
f8e681dbf4
7 changed files with 62 additions and 13 deletions
|
|
@ -27,6 +27,7 @@ class UserAttributes(models.Model):
|
|||
max_instances = models.IntegerField(default=0)
|
||||
max_cpus = models.IntegerField(default=0)
|
||||
max_memory = models.IntegerField(default=0)
|
||||
max_disk_size = models.IntegerField(default=0)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.user.username
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue