add message_status
This commit is contained in:
parent
b9273e1f5d
commit
3743324da9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue