class Migration(migrations.Migration): dependencies = [ ('app', '0016_auto_20180419_1418'), ] operations = [ migrations.AlterField( model_name='pet', name='photo', field=models.ImageField(default='pets/pet_default_image.jpg', upload_to=app.models.pet_directory_path), ), migrations.AlterField( model_name='picture', name='picture', field=models.ImageField(default='pets/pet_default_image.jpg', upload_to=app.models.pet_directory_path), ), migrations.AlterField( model_name='supervisor', name='super_photo', field=models.ImageField(default='users/user_default_image.jpg', upload_to=app.models.user_directory_path), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Album', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nome', models.CharField(max_length=100)), ('foto', models.ImageField(upload_to=app.models.get_album_path)), ('ano', models.IntegerField(validators=[django.core.validators.MinValueValidator(1899), django.core.validators.MaxValueValidator(2999)])), ], ), migrations.CreateModel( name='Artista', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nome', models.CharField(max_length=100)), ('foto', models.ImageField(upload_to=app.models.get_artista_path)), ], ), migrations.CreateModel( name='Categoria', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nome', models.CharField(max_length=100)), ], ), migrations.CreateModel( name='Musica', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nome', models.CharField(max_length=100)), ('duracao', models.DurationField()), ('album', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.Album')), ], ), migrations.AddField( model_name='album', name='artista', field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='app.Artista'), ), migrations.AddField( model_name='album', name='categoria', field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='app.Categoria'), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0002_auto_20171114_2147'), ] operations = [ migrations.CreateModel( name='Course', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('info', models.TextField(max_length=123)), ('teacher', models.TextField()), ], ), migrations.CreateModel( name='Group', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.TextField(max_length=20)), ('course', models.TextField(max_length=15)), ('the_elder', models.TextField(max_length=12)), ('students', models.TextField()), ], ), migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.TextField(max_length=120)), ('surname', models.TextField(max_length=120)), ('image', models.ImageField(blank=True, height_field='height_field', null=True, upload_to=app.models.upload_location, width_field='width_field')), ('bio', models.TextField()), ], ), migrations.CreateModel( name='Teacher', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.TextField(max_length=120)), ('surname', models.TextField(max_length=120)), ('image', models.ImageField(blank=True, height_field='150px', null=True, upload_to=app.models.upload_location, width_field='150px')), ('bio', models.TextField()), ('courser', models.TextField(max_length=120)), ], ), migrations.DeleteModel( name='User', ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Students', fields=[ ('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)), ('name', models.CharField(max_length=200)), ('fname', models.CharField(max_length=200)), ('last_name', models.CharField(max_length=200)), ('date_of_birth', models.DateField()), ('email', models.EmailField(max_length=254, unique=True)), ('image', models.ImageField(blank=True, upload_to=app.models.overwrite)), ('created_at', models.DateTimeField(auto_now=True)), ], options={ 'ordering': ['created_at'], }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Account', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('balance', models.DecimalField(decimal_places=2, default=0, max_digits=12)), ], ), migrations.CreateModel( name='Action', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('amount', models.DecimalField(decimal_places=2, max_digits=12)), ('date', models.DateTimeField(auto_now_add=True)), ], ), migrations.CreateModel( name='Customer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('first_name', models.CharField(max_length=255)), ('last_name', models.CharField(max_length=255)), ('passport', models.CharField( max_length=10, validators=[ django.core.validators.RegexValidator( '^[0-9a-zA-Z]*$', 'Only alphanumeric characters are allowed.') ])), ('city', models.CharField(max_length=255)), ('house', models.CharField(max_length=255)), ('photo', models.ImageField(null=True, upload_to=app.models.customer_photo)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='AppPost', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=50)), ('body', models.TextField(max_length=5000)), ('image', models.ImageField(upload_to=app.models.upload_location)), ('date_published', models.DateTimeField(auto_now_add=True, verbose_name='data published')), ('date_updated', models.DateTimeField(auto_now=True, verbose_name='data updated')), ('slug', models.SlugField(blank=True, unique=True)), ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('domaine', '0001_initial'), ] operations = [ migrations.CreateModel( name='App', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('nom', models.CharField(default='', max_length=100)), ('lien', models.CharField(default='', max_length=100)), ('avatar', models.ImageField(blank=True, null=True, upload_to=app.models.upload_path, verbose_name='avatar')), ('create_at', models.DateTimeField(auto_now_add=True)), ('modify_at', models.DateTimeField(auto_now=True)), ('domaines', models.ManyToManyField(to='domaine.Domaine')), ], options={ 'ordering': ['create_at'], }, ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0002_auto_20160922_2239'), ] operations = [ migrations.AddField( model_name='initiative', name='image', field=models.ImageField( null=True, upload_to=app.models.PathAndRename('img/initiative_events/')), ), migrations.AlterField( model_name='initiative', name='title', field=models.CharField(max_length=100, unique=True), ), migrations.AlterField( model_name='initiative', name='title_pt', field=models.CharField(max_length=100, unique=True), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0002_auto_20180918_2121'), ] operations = [ migrations.CreateModel( name='Products', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=50)), ('descriptions', models.TextField(blank=True)), ('image', models.ImageField(blank=True, upload_to=app.models.image_folder)), ('price', models.DecimalField(decimal_places=2, max_digits=9)), ('available', models.BooleanField(default=True)), ('brand', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.Brand')), ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app.Categories')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='user', fields=[ ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('email', models.CharField(max_length=100, primary_key=True, serialize=False)), ('full_name', models.CharField(blank=True, max_length=160)), ('mobile_number', models.CharField(blank=True, max_length=13)), ('is_admin', models.BooleanField(default=False)), ('is_login', models.BooleanField(default=False)), ('is_active', models.BooleanField(default=True)), ('date_joined', models.DateTimeField(default=django.utils.timezone.now)), ('user_photo', models.ImageField(blank=True, upload_to=app.models.user_directory_path)), ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('kadiv', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'abstract': False, }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Profesor', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.TextField(max_length=120)), ('midlename', models.TextField(max_length=120)), ('surname', models.TextField(max_length=120)), ('image', models.ImageField(blank=True, height_field='height_field', null=True, upload_to=app.models.upload_location, width_field='width_field')), ('bio', models.TextField()), ('courser', models.TextField(max_length=120)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='PostImage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(upload_to=app.models.get_image_filename, verbose_name='Image')), ('post', models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='app.post')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ("app", "0002_auto_20201009_1855"), ] operations = [ migrations.AlterField( model_name="author", name="photo", field=django_resized.forms.ResizedImageField( blank=True, crop=None, force_format=None, keep_meta=True, quality=0, size=[500, 300], upload_to=app.models.get_file_path, ), ), migrations.AlterField( model_name="book", name="photo", field=models.ImageField(blank=True, upload_to=app.models.get_file_path), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='DRModel', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40, unique=True)), ('date_added', models.DateTimeField(default=datetime.datetime.now)), ('model_type', models.PositiveIntegerField()), ('author', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='TestImage', fields=[ ('name', models.CharField(max_length=100, primary_key=True, serialize=False, unique=True)), ('image', models.ImageField(upload_to=app.models.f)), ('pred_class', models.PositiveIntegerField()), ('preds', models.CharField(max_length=255, null=True)), ('uploaded_at', models.DateTimeField(default=datetime.datetime.now)), ('real_label', models.PositiveIntegerField()), ('eye_orientation', models.CharField(choices=[('L', 'LEFT'), ('R', 'RIGHT')], default=None, max_length=1, null=True)), ('author', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Reimbursement', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('amount', models.FloatField()), ('description', models.CharField(max_length=256)), ('attachment', models.ImageField(upload_to=app.models.user_directory_path)), ('date_created', models.DateTimeField(auto_now_add=True)), ('reimbursed_flag', models.BooleanField(default=False)), ('date_reimbursed', models.DateTimeField(null=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0006_auto_20191010_1737'), ] operations = [ migrations.AlterField( model_name='comment', name='date_posted', field=models.DateTimeField(db_index=True, default=datetime.datetime( 2019, 10, 19, 2, 40, 55, 90173), verbose_name='Дата комментария'), ), migrations.AlterField( model_name='post', name='date_posted', field=models.DateTimeField(default=datetime.datetime( 2019, 10, 19, 2, 40, 55, 89170), verbose_name='Опубликована:'), ), migrations.AlterField( model_name='product', name='image', field=models.ImageField(upload_to=app.models.image_folder), ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('app', '0002_auto_20180606_2313'), ] operations = [ migrations.CreateModel( name='UslaPerson', fields=[ ('usla_id', models.AutoField(primary_key=True, serialize=False)), ('first_name', models.CharField(max_length=60)), ('last_name', models.CharField(max_length=60)), ('email', models.EmailField(blank=True, max_length=254)), ('tel_num', models.CharField(blank=True, max_length=16, validators=[ django.core.validators.RegexValidator( message=b'Phone number invalid.', regex=b'^\\+?1?[\\d-]{9,18}$') ])), ('cel_num', models.CharField(blank=True, max_length=16, validators=[ django.core.validators.RegexValidator( message=b'Phone number invalid.', regex=b'^\\+?1?[\\d-]{9,18}$') ])), ('image', models.ImageField(blank=True, upload_to=app.models. get_upload_usla_family_membership_images)), ('image_thumb', models.ImageField(blank=True, upload_to=app.models. get_upload_usla_family_membership_images)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Catogory', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=30)), ], ), migrations.CreateModel( name='Item', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=30)), ('image', models.ImageField(blank=True, null=True, upload_to=app.models.get_image_path)), ('weight', models.DecimalField(decimal_places=2, max_digits=5)), ], ), migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200)), ('last_name', models.CharField(blank=True, max_length=200)), ('email', models.EmailField(max_length=254, unique=True)), ('password', models.CharField(max_length=200)), ('role', models.CharField(choices=[ ('CLINIC_MANAGER', 'Clinic Manager'), ('WAREHOUSE_PERSONNEL', 'Warehouse Personnel'), ('DISPATCHER', 'Dispatcher') ], default='CLINIC_MANAGER', max_length=2)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0006_alter_servicerequest_service_request_no'), ] operations = [ migrations.AddField( model_name='userprofile', name='background_pic', field=models.ImageField(default='default/bg_1.jpg', upload_to=app.models.user_directory_path, verbose_name='Background Picture'), ), migrations.AlterField( model_name='userprofile', name='profile_pic', field=models.ImageField(default='defualt/profile.png', upload_to=app.models.user_directory_path, verbose_name='Profile Picture'), ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='HotelImage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(blank=True, null=True, upload_to=app.models.upload_path, verbose_name='Image')), ], ), migrations.AddField( model_name='hotel', name='city', field=models.CharField(default='tehran', max_length=255, verbose_name='City'), preserve_default=False, ), migrations.AddField( model_name='hotel', name='country', field=models.CharField(default='iran', max_length=255, verbose_name='Country'), preserve_default=False, ), migrations.AddField( model_name='hotelimage', name='rel', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='app.Hotel', verbose_name='Hotel'), ), migrations.AddField( model_name='hotelimage', name='user', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='User'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Task', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=64)), ('description', models.CharField(max_length=512)), ('building', models.CharField(max_length=32)), ('floor', models.CharField(max_length=32)), ('room', models.CharField(blank=True, max_length=32, null=True)), ('create_date', models.DateTimeField(auto_now_add=True)), ('done_date', models.DateTimeField(blank=True, null=True)), ('status', models.CharField(blank=True, choices=[('1', 'รับเรื่อง'), ('2', 'ดำเนินการ'), ('3', 'เสร็จสิ้น')], max_length=1)), ('division', models.CharField(blank=True, choices=[('1', 'ฝ่ายเทคโนโลยีสารสนเทศ'), ('2', 'ฝ่ายอาคารและสถานที่')], max_length=2, null=True)), ('image', models.ImageField(blank=True, null=True, upload_to=app.models.get_upload_path)), ('operator', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='task_set', to=settings.AUTH_USER_MODEL)), ('requester', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.PROTECT, related_name='request_set', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('app', '0001_initial'), ] operations = [ migrations.CreateModel( name='Account', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('phone', models.IntegerField(default=0)), ('city', models.CharField(blank=True, max_length=255, null=True)), ('avatar', models.ImageField(default='avt.png', null=True, upload_to=app.models.content_file_name)), ('isAdmin', models.BooleanField(default=False)), ('token', models.CharField(blank=True, max_length=255, null=True)), ('user', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Information', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('city', models.CharField(blank=True, max_length=255, null=True)), ('sq_ft', models.IntegerField(default=0)), ('price', models.FloatField(blank=True, default=None, null=True)), ('option', models.CharField(choices=[('buy', 'Buy'), ('rent', 'Rent')], default='buy', max_length=9)), ('fields', models.CharField(choices=[('resi', 'Residential'), ('land', 'Land'), ('comm', 'Commercial')], default='buy', max_length=9)), ], ), migrations.CreateModel( name='Locality', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=255, null=True)), ], ), migrations.CreateModel( name='Society', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=255, null=True)), ('locality', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='app.Locality')), ], ), migrations.DeleteModel( name='City', ), migrations.AddField( model_name='information', name='society', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='app.Society'), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AlterField( model_name='edit', name='original', field=models.ImageField( upload_to=app.models.orig_file_directory_path), ), migrations.AlterField( model_name='edit', name='result', field=models.ImageField( upload_to=app.models.result_file_directory_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0002_auto_20200429_1154'), ] operations = [ migrations.RemoveField( model_name='polozka', name='cover', ), migrations.AddField( model_name='polozka', name='cover', field=models.ImageField(blank=True, null=True, upload_to=app.models.cover_path, verbose_name='Cover'), ), migrations.AlterField( model_name='stat', name='name', field=models.CharField(help_text='Vložte prosím celý název státu.', max_length=100, unique=True, verbose_name='Název státu'), ), migrations.AlterField( model_name='zakaznik', name='first_name', field=models.CharField(max_length=100, verbose_name='Jméno'), ), migrations.AlterField( model_name='zakaznik', name='last_name', field=models.CharField(max_length=100, verbose_name='Příjmení'), ), migrations.AlterField( model_name='zakaznik', name='stat', field=models.ForeignKey(blank=True, on_delete=models.SET(''), to='app.Stat', verbose_name='Stát'), ), migrations.AlterField( model_name='zanr', name='name', field=models.CharField(max_length=100, unique=True), ), migrations.DeleteModel(name='Cover', ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0013_auto_20201129_1426'), ] operations = [ migrations.AlterField( model_name='users', name='avatar', field=models.ImageField(default='/27804.png', max_length=1024, upload_to=app.models.avatar_upload_to, verbose_name='Аватар'), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0007_auto_20200818_2047'), ] operations = [ migrations.AddField( model_name='students', name='photo', field=models.ImageField(blank=True, null=True, upload_to=app.models.Students.get_photo, verbose_name='照片'), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0039_auto_20190320_1502'), ] operations = [ migrations.AddField( model_name='settings', name='BG_Image', field=models.ImageField(blank=True, null=True, upload_to=app.models.Settings.get_image_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0025_article'), ] operations = [ migrations.AddField( model_name='article', name='photo', field=models.ImageField(default='articles/article_default_image.jpg', upload_to=app.models.article_directory_path), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0015_auto_20180704_1731'), ] operations = [ migrations.CreateModel( name='ImageUpload', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('path', models.CharField(max_length=20, verbose_name='the folder name')), ('image', models.ImageField(blank=True, height_field='height_field', null=True, upload_to='upload_image/', width_field='width_field')), ('height_field', models.IntegerField(default=0)), ('width_field', models.IntegerField(default=0)), ], ), migrations.AlterField( model_name='article', name='image', field=models.ImageField(blank=True, height_field='height_field', null=True, upload_to=app.models.upload_location, width_field='width_field'), ), ]
class Migration(migrations.Migration): dependencies = [ ('app', '0004_recipe'), ] operations = [ migrations.AddField( model_name='recipe', name='image', field=models.ImageField( null=True, upload_to=app.models.recipe_image_file_path), ), ]