diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-22 13:35:45 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:24 +0100 |
commit | 5c9701f05ddaba63d957f1973652be545a57bea0 (patch) | |
tree | 5681d0db3a55428e21f42696827942aa6aca8d34 /ishtar_common/migrations/0212_auto_20210222_1334.py | |
parent | a3917c23b6838c8f601f6286263493229ddc3208 (diff) | |
download | Ishtar-5c9701f05ddaba63d957f1973652be545a57bea0.tar.bz2 Ishtar-5c9701f05ddaba63d957f1973652be545a57bea0.zip |
Imports: imported file not mandatory (when zipped can be null) - do not raise error if media file is missing
Diffstat (limited to 'ishtar_common/migrations/0212_auto_20210222_1334.py')
-rw-r--r-- | ishtar_common/migrations/0212_auto_20210222_1334.py | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0212_auto_20210222_1334.py b/ishtar_common/migrations/0212_auto_20210222_1334.py new file mode 100644 index 000000000..703b58f2b --- /dev/null +++ b/ishtar_common/migrations/0212_auto_20210222_1334.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.27 on 2021-02-22 13:34 +from __future__ import unicode_literals + +from django.db import migrations, models +import ishtar_common.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('ishtar_common', '0211_auto_20210111_1321'), + ] + + operations = [ + migrations.AddField( + model_name='import', + name='archive_file', + field=models.FileField(blank=True, help_text='La taille maximale supportée pour le fichier est de 100 Mo.', max_length=255, null=True, upload_to='upload/imports/%Y/%m/', verbose_name='Archive file'), + ), + migrations.AddField( + model_name='ishtarsiteprofile', + name='delete_image_zip_on_archive', + field=models.BooleanField(default=False, verbose_name='Import - Delete image/document zip on archive'), + ), + migrations.AlterField( + model_name='historicalorganization', + name='grammatical_gender', + field=models.CharField(blank=True, choices=[('M', 'Male'), ('F', 'Female'), ('N', 'Neutral')], default='', help_text=ishtar_common.models.documentation_get_gender_values, max_length=1, verbose_name='Grammatical gender'), + ), + migrations.AlterField( + model_name='import', + name='imported_file', + field=models.FileField(blank=True, help_text='La taille maximale supportée pour le fichier est de 100 Mo.', max_length=220, null=True, upload_to='upload/imports/%Y/%m/', verbose_name='Imported file'), + ), + migrations.AlterField( + model_name='organization', + name='grammatical_gender', + field=models.CharField(blank=True, choices=[('M', 'Male'), ('F', 'Female'), ('N', 'Neutral')], default='', help_text=ishtar_common.models.documentation_get_gender_values, max_length=1, verbose_name='Grammatical gender'), + ), + migrations.AlterField( + model_name='organizationtype', + name='grammatical_gender', + field=models.CharField(blank=True, choices=[('M', 'Male'), ('F', 'Female'), ('N', 'Neutral')], default='', help_text=ishtar_common.models.documentation_get_gender_values, max_length=1, verbose_name='Grammatical gender'), + ), + migrations.AlterField( + model_name='titletype', + name='grammatical_gender', + field=models.CharField(blank=True, choices=[('M', 'Male'), ('F', 'Female'), ('N', 'Neutral')], default='', help_text=ishtar_common.models.documentation_get_gender_values, max_length=1, verbose_name='Grammatical gender'), + ), + ] |