@@ -0,0 +1,20 @@ |
||
| 1 |
+# -*- coding: utf-8 -*- |
|
| 2 |
+# Generated by Django 1.11.26 on 2020-12-29 07:38 |
|
| 3 |
+from __future__ import unicode_literals |
|
| 4 |
+ |
|
| 5 |
+from django.db import migrations, models |
|
| 6 |
+ |
|
| 7 |
+ |
|
| 8 |
+class Migration(migrations.Migration): |
|
| 9 |
+ |
|
| 10 |
+ dependencies = [ |
|
| 11 |
+ ('mch', '0059_auto_20201221_1115'),
|
|
| 12 |
+ ] |
|
| 13 |
+ |
|
| 14 |
+ operations = [ |
|
| 15 |
+ migrations.AddField( |
|
| 16 |
+ model_name='modelinfo', |
|
| 17 |
+ name='is_show_shot', |
|
| 18 |
+ field=models.BooleanField(default=False, help_text='\u662f\u5426\u5728\u955c\u5934\u7c7b\u578b\u91cc\u663e\u793a', verbose_name='is_show_shot'), |
|
| 19 |
+ ), |
|
| 20 |
+ ] |
@@ -171,6 +171,7 @@ class ModelInfo(BaseModelMixin): |
||
| 171 | 171 |
shot_member_integral = models.IntegerField(_(u'shot_member_integral'), default=0, help_text=u'【消费者】镜头会员积分') |
| 172 | 172 |
shot_member_image = models.ImageField(_(u'shot_member_image'), upload_to=upload_path, blank=True, null=True, help_text=u'镜头会员图片') |
| 173 | 173 |
shot_member_name = models.CharField(_(u'shot_member_name'), max_length=255, blank=True, null=True, help_text=u'型号全名称') |
| 174 |
+ is_show_shot = models.BooleanField(_(u'is_show_shot'), default=False, help_text=_(u'是否在镜头类型里显示')) |
|
| 174 | 175 |
|
| 175 | 176 |
class Meta: |
| 176 | 177 |
verbose_name = _(u'型号信息') |