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
19
accounts/migrations/0006_userattributes_max_disk_size.py
Normal file
19
accounts/migrations/0006_userattributes_max_disk_size.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('accounts', '0005_userattributes_can_clone_instances'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='userattributes',
|
||||
name='max_disk_size',
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue