From 3743324da97d7b00f3bf20c6d7c1d1181800cc4a Mon Sep 17 00:00:00 2001 From: baoliang Date: Sun, 14 Mar 2021 13:33:51 +0800 Subject: [PATCH] add message_status --- dashboard/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/models.py b/dashboard/models.py index 7a3a2ff..c870b21 100644 --- a/dashboard/models.py +++ b/dashboard/models.py @@ -170,6 +170,7 @@ class Userprofile(models.Model): # 用户状态:注册进来默认为0,为未审核状态,审核后status=1 status = models.IntegerField('用户状态', null=True, blank=True, default=0) admin_status = models.IntegerField('管理状态', default=3) + message_status = models.BooleanField('是否发送消息', default=True) # 20201017新增字段(职位) zhiwei = models.CharField('职位', max_length=256, null=True, blank=True) created = models.DateTimeField('创建时间', auto_now_add=True)