summaryrefslogtreecommitdiffstats
path: root/core/migrations/0002_alter_config_image.py
blob: 86dcebb4abae570fad7239dd95691cc70f07a7e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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",), **{}
                ),
            ),
        ),
    ]