diff --git a/dashboard/models.py b/dashboard/models.py index c9fab6f..d6d4bfd 100644 --- a/dashboard/models.py +++ b/dashboard/models.py @@ -144,6 +144,8 @@ class Userprofile(models.Model): Organization, on_delete=models.CASCADE, null=True, blank=True) # 用户状态:注册进来默认为0,为未审核状态,审核后status=1 status = models.IntegerField('用户状态', null=True, blank=True, default=0) + #20201017新增字段(职位) + zhiwei = models.CharField('职位',max_length=256,null=True,blank=True) created = models.DateTimeField('创建时间', auto_now_add=True) updated = models.DateTimeField('更新时间', auto_now=True) diff --git a/dashboard/templates/dashboard/base/left.html b/dashboard/templates/dashboard/base/left.html index 4a478c2..8036c4e 100644 --- a/dashboard/templates/dashboard/base/left.html +++ b/dashboard/templates/dashboard/base/left.html @@ -99,6 +99,7 @@ 新媒体管理 + {# NEW#}