diff --git a/app/grants/migrations/0064_auto_20200629_1114.py b/app/grants/migrations/0064_auto_20200629_1114.py new file mode 100644 index 00000000000..d3d715f525f --- /dev/null +++ b/app/grants/migrations/0064_auto_20200629_1114.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.4 on 2020-06-29 11:14 + +from django.db import migrations, models +import grants.utils + + +class Migration(migrations.Migration): + + dependencies = [ + ('grants', '0063_auto_20200622_1218'), + ] + + operations = [ + migrations.AlterField( + model_name='grant', + name='logo', + field=models.ImageField(blank=True, help_text='The Grant logo image.', max_length=500, null=True, upload_to=grants.utils.get_upload_filename), + ), + ] diff --git a/app/grants/models.py b/app/grants/models.py index 30fe7c85315..c8c989bf01d 100644 --- a/app/grants/models.py +++ b/app/grants/models.py @@ -161,6 +161,7 @@ class Meta: upload_to=get_upload_filename, null=True, blank=True, + max_length=500, help_text=_('The Grant logo image.'), ) logo_svg = models.FileField(