diff options
Diffstat (limited to 'core/migrations')
-rw-r--r-- | core/migrations/0002_alter_config_image.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/core/migrations/0002_alter_config_image.py b/core/migrations/0002_alter_config_image.py new file mode 100644 index 0000000..86dcebb --- /dev/null +++ b/core/migrations/0002_alter_config_image.py @@ -0,0 +1,28 @@ +# Generated by Django 4.1.3 on 2022-11-18 01:40 + +import functools + +from django.db import migrations, models + +import core.uploads + + +class Migration(migrations.Migration): + + dependencies = [ + ("core", "0001_initial"), + ] + + operations = [ + migrations.AlterField( + model_name="config", + name="image", + field=models.ImageField( + blank=True, + null=True, + upload_to=functools.partial( + core.uploads.upload_namer, *("config",), **{} + ), + ), + ), + ] |