class Migration(migrations.Migration): dependencies = [ ('clown', '0010_auto_20180502_1406'), ] operations = [ migrations.AlterModelOptions( name='post', options={'ordering': ['date_publish']}, ), migrations.AddField( model_name='post', name='height_field', field=models.IntegerField(default=0), ), migrations.AddField( model_name='post', name='width_field', field=models.IntegerField(default=0), ), migrations.AlterField( model_name='post', name='image', field=models.ImageField(height_field='height_field', upload_to=clown.models.upload_location, width_field='width_field'), ), ]
class Migration(migrations.Migration): dependencies = [ ('clown', '0019_auto_20180503_1530'), ] operations = [ migrations.AddField( model_name='author', name='height_field', field=models.IntegerField(default=0), ), migrations.AddField( model_name='author', name='photo', field=models.ImageField( blank=True, height_field='height_field', null=True, upload_to=clown.models.upload_location_photo, width_field='width_field'), ), migrations.AddField( model_name='author', name='width_field', field=models.IntegerField(default=0), ), ]
class Migration(migrations.Migration): dependencies = [ ('clown', '0013_auto_20180502_1608'), ] operations = [ migrations.AddField( model_name='post', name='height_field', field=models.IntegerField(default=0), ), migrations.AddField( model_name='post', name='image', field=models.ImageField(default=2, height_field='height_field', upload_to=clown.models.upload_location, width_field='width_field'), preserve_default=False, ), migrations.AddField( model_name='post', name='width_field', field=models.IntegerField(default=0), ), ]
class Migration(migrations.Migration): dependencies = [ ('clown', '0016_auto_20180503_1505'), ] operations = [ migrations.AddField( model_name='author', name='height_field', field=models.IntegerField(default=0), ), migrations.AddField( model_name='author', name='photo', field=models.ImageField( default=2, height_field='height_field', upload_to=clown.models.upload_location_photo, width_field='width_field'), preserve_default=False, ), migrations.AddField( model_name='author', name='width_field', field=models.IntegerField(default=0), ), ]