From a9980d5cc1c1b70ba197c5e0a248a638e496e272 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 10 Jun 2016 09:41:09 +0000 Subject: [PATCH] Added a default for photo and photo_thumb to the migration. - Legacy-Id: 11306 --- ietf/person/migrations/0012_auto_20160606_0823.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ietf/person/migrations/0012_auto_20160606_0823.py b/ietf/person/migrations/0012_auto_20160606_0823.py index 62036cd61..1c329e24d 100644 --- a/ietf/person/migrations/0012_auto_20160606_0823.py +++ b/ietf/person/migrations/0012_auto_20160606_0823.py @@ -21,13 +21,13 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='person', name='photo', - field=models.ImageField(storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True), + field=models.ImageField(default=None, storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True), preserve_default=True, ), migrations.AlterField( model_name='person', name='photo_thumb', - field=models.ImageField(storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True), + field=models.ImageField(default=None, storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True), preserve_default=True, ), migrations.AlterField( @@ -39,13 +39,13 @@ class Migration(migrations.Migration): migrations.AlterField( model_name='personhistory', name='photo', - field=models.ImageField(storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True), + field=models.ImageField(default=None, storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True), preserve_default=True, ), migrations.AlterField( model_name='personhistory', name='photo_thumb', - field=models.ImageField(storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True), + field=models.ImageField(default=None, storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True), preserve_default=True, ), ]