add unit
This commit is contained in:
parent
db70dda253
commit
d22da90872
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue