From 56cd35565f1875ca140994af138557e29daf0ec8 Mon Sep 17 00:00:00 2001 From: youngS Date: Mon, 7 Jun 2021 17:46:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E7=BA=A7=E7=AD=BE=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/migrations/0002_auto_20210607_1743.py | 22 +++++++++++++++++++ fir_ser/api/models.py | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 fir_ser/api/migrations/0002_auto_20210607_1743.py diff --git a/fir_ser/api/migrations/0002_auto_20210607_1743.py b/fir_ser/api/migrations/0002_auto_20210607_1743.py new file mode 100644 index 0000000..b289017 --- /dev/null +++ b/fir_ser/api/migrations/0002_auto_20210607_1743.py @@ -0,0 +1,22 @@ +# Generated by Django 3.2.3 on 2021-06-07 17:43 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('api', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='userinfo', + name='first_name', + field=models.CharField(blank=True, max_length=150, verbose_name='first name'), + ), + migrations.AlterField( + model_name='userinfo', + name='supersign_active', + field=models.BooleanField(default=True, verbose_name='配置超级签,默认关闭'), + ), + ] diff --git a/fir_ser/api/models.py b/fir_ser/api/models.py index 11c3b4f..ccb55d3 100644 --- a/fir_ser/api/models.py +++ b/fir_ser/api/models.py @@ -25,7 +25,7 @@ class UserInfo(AbstractUser): qq = models.BigIntegerField(verbose_name="QQ", blank=True, null=True, db_index=True) is_active = models.BooleanField(default=True, verbose_name="账户状态,默认启用") storage_active = models.BooleanField(default=False, verbose_name="配置存储,默认关闭") - supersign_active = models.BooleanField(default=False, verbose_name="配置超级签,默认关闭") + supersign_active = models.BooleanField(default=True, verbose_name="配置超级签,默认关闭") job = models.TextField("职位", max_length=128, blank=True, null=True) company = models.CharField("公司", max_length=128, blank=True, null=True)