From d22da90872b2837e8b9d95f0e4463c4a1dd1deb9 Mon Sep 17 00:00:00 2001 From: baoliang Date: Sun, 20 Sep 2020 19:20:19 +0800 Subject: [PATCH] add unit --- dashboard/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/models.py b/dashboard/models.py index e03fc78..6de5313 100644 --- a/dashboard/models.py +++ b/dashboard/models.py @@ -108,7 +108,7 @@ class Userprofile(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE) name = models.CharField('姓名', null=True, blank=True, max_length=256) sex = models.CharField('性别', null=True, blank=True, max_length=256) - unit = models.CharField('单位', null=True, blank=True, max_length=256) + unit = models.CharField('自己输入单位', null=True, blank=True, max_length=256) department = models.CharField('部门', null=True, blank=True, max_length=256) post = models.CharField('职务', null=True, blank=True, max_length=256) image = models.FileField(upload_to='profile', null=True, blank=True)