Brak opisu

0065_auto_20221118_1657.py 1.1KB

    # -*- coding: utf-8 -*- # Generated by Django 3.2.16 on 2022-11-18 08:57 from django.db import migrations, models import django_models_ext.fileext class Migration(migrations.Migration): dependencies = [ ('mch', '0064_alter_modelinfo_display'), ] operations = [ migrations.AddField( model_name='modelinfo', name='model_mount', field=models.CharField(choices=[('SONY', '索尼'), ('FUJIFILM', '富士'), ('CANON', '佳能'), ('NIKON', '尼康')], default='SONY', help_text='镜头卡口', max_length=32, verbose_name='model_mount'), ), migrations.AlterField( model_name='modelinfo', name='image', field=models.ImageField(blank=True, help_text='横图', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='image'), ), migrations.AlterField( model_name='modelinfo', name='image2', field=models.ImageField(blank=True, help_text='方图', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='image2'), ), ]