Няма описание

0046_cameramodelinfo.py 1.6KB

    # -*- coding: utf-8 -*- # Generated by Django 1.11.28 on 2020-03-04 10:35 from __future__ import unicode_literals from django.db import migrations, models import django_models_ext.fileext class Migration(migrations.Migration): dependencies = [ ('mch', '0045_auto_20200304_1826'), ] operations = [ migrations.CreateModel( name='CameraModelInfo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('status', models.BooleanField(db_index=True, default=True, help_text='Status', verbose_name='status')), ('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')), ('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')), ('camera_brand_name', models.CharField(blank=True, help_text='\u673a\u8eab\u54c1\u724c', max_length=255, null=True, verbose_name='camera_brand_name')), ('camera_name', models.CharField(blank=True, help_text='\u673a\u8eab\u540d\u79f0', max_length=255, null=True, verbose_name='camera_name')), ('camera_image', models.ImageField(blank=True, help_text='\u673a\u8eab\u56fe\u7247', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='camera_image')), ], options={ 'verbose_name': '\u673a\u8eab\u4fe1\u606f', 'verbose_name_plural': '\u673a\u8eab\u4fe1\u606f', }, ), ]