mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
UserAttributes can_clone_instances defaults to True
This commit is contained in:
parent
fe89af9d8f
commit
14b0751930
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class UserSSHKey(models.Model):
|
||||||
|
|
||||||
class UserAttributes(models.Model):
|
class UserAttributes(models.Model):
|
||||||
user = models.OneToOneField(User, on_delete=models.CASCADE)
|
user = models.OneToOneField(User, on_delete=models.CASCADE)
|
||||||
can_clone_instances = models.BooleanField(default=False)
|
can_clone_instances = models.BooleanField(default=True)
|
||||||
max_instances = models.IntegerField(default=1)
|
max_instances = models.IntegerField(default=1)
|
||||||
max_cpus = models.IntegerField(default=1)
|
max_cpus = models.IntegerField(default=1)
|
||||||
max_memory = models.IntegerField(default=2048)
|
max_memory = models.IntegerField(default=2048)
|
||||||
|
|
Loading…
Reference in a new issue