This commit is contained in:
baoliang 2020-09-20 19:20:19 +08:00
parent db70dda253
commit d22da90872
1 changed files with 1 additions and 1 deletions

View File

@ -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)