Better defaults for user storage
This commit is contained in:
parent
4284b4a05f
commit
4d87edd995
18
byostorage/migrations/0005_alter_userstorage_storage.py
Normal file
18
byostorage/migrations/0005_alter_userstorage_storage.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.7 on 2022-09-09 23:36
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('byostorage', '0004_auto_20210917_0000'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='userstorage',
|
||||
name='storage',
|
||||
field=models.CharField(choices=[('django.core.files.storage.FileSystemStorage', 'django.core.files.storage.FileSystemStorage')], help_text='Storage class for this instance', max_length=255),
|
||||
),
|
||||
]
|
||||
@ -0,0 +1,19 @@
|
||||
# Generated by Django 3.2.7 on 2022-09-10 00:10
|
||||
|
||||
import byostorage.models
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('byostorage', '0005_alter_userstorage_storage'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='userstorage',
|
||||
name='settings_data',
|
||||
field=models.TextField(default='{}', help_text='JSON dict with key/value settings', validators=[byostorage.models.validate_json]),
|
||||
),
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user