# Generated by Django 2.2.13 on 2020-09-03 08:43

import api.models
import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('api', '0084_region_label'),
    ]

    operations = [
        migrations.AddField(
            model_name='country',
            name='is_deprecated',
            field=models.BooleanField(default=False, help_text='Is this an active, valid country?'),
        ),
        migrations.AddField(
            model_name='district',
            name='is_deprecated',
            field=models.BooleanField(default=False, help_text='Is this an active, valid district?'),
        ),
        migrations.AlterField(
            model_name='appealdocument',
            name='document',
            field=models.FileField(blank=True, null=True, upload_to=api.models.appeal_document_path, verbose_name='document'),
        ),
        migrations.AlterField(
            model_name='country',
            name='logo',
            field=models.FileField(blank=True, null=True, upload_to=api.models.logo_document_path, validators=[django.core.validators.FileExtensionValidator(allowed_extensions=['png', 'jpg', 'gif'])], verbose_name='logo'),
        ),
        migrations.AlterField(
            model_name='countrysnippet',
            name='image',
            field=models.ImageField(blank=True, null=True, upload_to='countries/%Y/%m/%d/', verbose_name='image'),
        ),
        migrations.AlterField(
            model_name='regionsnippet',
            name='image',
            field=models.ImageField(blank=True, null=True, upload_to='regions/%Y/%m/%d/', verbose_name='image'),
        ),
        migrations.AlterField(
            model_name='situationreport',
            name='document',
            field=models.FileField(blank=True, null=True, upload_to=api.models.sitrep_document_path, verbose_name='document'),
        ),
        migrations.AlterField(
            model_name='snippet',
            name='image',
            field=models.ImageField(blank=True, null=True, upload_to=api.models.snippet_image_path, verbose_name='image'),
        ),
    ]
