fix bug

FFIB 4 lat temu
rodzic
commit
3316bc41a7
2 zmienionych plików z 21 dodań i 1 usunięć
  1. 20 0
      coupon/migrations/0015_auto_20200727_1720.py
  2. 1 1
      coupon/models.py

+ 20 - 0
coupon/migrations/0015_auto_20200727_1720.py

@@ -0,0 +1,20 @@
1
+# -*- coding: utf-8 -*-
2
+# Generated by Django 1.11.26 on 2020-07-27 09:20
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
+        ('coupon', '0014_usercouponinfo_submit_pk'),
12
+    ]
13
+
14
+    operations = [
15
+        migrations.AlterField(
16
+            model_name='usercouponinfo',
17
+            name='submit_pk',
18
+            field=models.IntegerField(blank=True, default=0, help_text='\u63d0\u4ea4ID', null=True, verbose_name='submit_pk'),
19
+        ),
20
+    ]

+ 1 - 1
coupon/models.py

@@ -91,7 +91,7 @@ class UserCouponInfo(BaseModelMixin):
91 91
     coupon_from = models.CharField(_(u'coupon_from'), default='MEMBER_BENEFITS', max_length=32, blank=True, null=True, help_text=u'劵来源', db_index=True)
92 92
     activity_id = models.CharField(_(u'activity_id'), max_length=32, blank=True, null=True, help_text=u'活动唯一标识', db_index=True)
93 93
     activity_name = models.CharField(_(u'activity_name'), max_length=32, blank=True, null=True, help_text=u'活动名称', db_index=True)
94
-    submit_pk = models.IntegerField(_(u'coupon_value'), default=0, blank=True, null=True)
94
+    submit_pk = models.IntegerField(_(u'submit_pk'), default=0, blank=True, null=True, help_text=u'提交ID')
95 95
 
96 96
     class Meta:
97 97
         verbose_name = _(u'用户券信息')