mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-09 14:56:10 +01:00
Add container management features: implement update, delete with data, and delete while preserving data functionalities. Update views, URLs, and templates for enhanced user interaction and data safety. Introduce modals for container updates and deletion options, improving overall user experience.
This commit is contained in:
23
ftp/migrations/0002_add_custom_quota_fields.py
Normal file
23
ftp/migrations/0002_add_custom_quota_fields.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated migration for FTP custom quota fields
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('ftp', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='users',
|
||||
name='custom_quota_enabled',
|
||||
field=models.BooleanField(default=False, help_text='Enable custom quota for this FTP user'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='users',
|
||||
name='custom_quota_size',
|
||||
field=models.IntegerField(default=0, help_text='Custom quota size in MB (0 = use package default)'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user