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)