Skip to content

Commit a9980d5

Browse files
committed
Added a default for photo and photo_thumb to the migration.
- Legacy-Id: 11306
1 parent ebe45e5 commit a9980d5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/person/migrations/0012_auto_20160606_0823.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ class Migration(migrations.Migration):
2121
migrations.AlterField(
2222
model_name='person',
2323
name='photo',
24-
field=models.ImageField(storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True),
24+
field=models.ImageField(default=None, storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True),
2525
preserve_default=True,
2626
),
2727
migrations.AlterField(
2828
model_name='person',
2929
name='photo_thumb',
30-
field=models.ImageField(storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True),
30+
field=models.ImageField(default=None, storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True),
3131
preserve_default=True,
3232
),
3333
migrations.AlterField(
@@ -39,13 +39,13 @@ class Migration(migrations.Migration):
3939
migrations.AlterField(
4040
model_name='personhistory',
4141
name='photo',
42-
field=models.ImageField(storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True),
42+
field=models.ImageField(default=None, storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True),
4343
preserve_default=True,
4444
),
4545
migrations.AlterField(
4646
model_name='personhistory',
4747
name='photo_thumb',
48-
field=models.ImageField(storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True),
48+
field=models.ImageField(default=None, storage=ietf.utils.storage.NoLocationMigrationFileSystemStorage(location=None), upload_to=b'photos', blank=True),
4949
preserve_default=True,
5050
),
5151
]

0 commit comments

Comments
 (0)