add message_status

This commit is contained in:
baoliang 2021-03-14 13:33:51 +08:00
parent b9273e1f5d
commit 3743324da9
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ class Userprofile(models.Model):
# 用户状态:注册进来默认为0为未审核状态审核后status=1 # 用户状态:注册进来默认为0为未审核状态审核后status=1
status = models.IntegerField('用户状态', null=True, blank=True, default=0) status = models.IntegerField('用户状态', null=True, blank=True, default=0)
admin_status = models.IntegerField('管理状态', default=3) admin_status = models.IntegerField('管理状态', default=3)
message_status = models.BooleanField('是否发送消息', default=True)
# 20201017新增字段职位 # 20201017新增字段职位
zhiwei = models.CharField('职位', max_length=256, null=True, blank=True) zhiwei = models.CharField('职位', max_length=256, null=True, blank=True)
created = models.DateTimeField('创建时间', auto_now_add=True) created = models.DateTimeField('创建时间', auto_now_add=True)