在UserProfile中添加学号字段

This commit is contained in:
sxw
2015-12-08 14:31:43 +08:00
parent 1381797183
commit 7d358c9e4c
2 changed files with 21 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ class UserProfile(models.Model):
problems_status = JSONField(default={})
phone_number = models.CharField(max_length=15, blank=True, null=True)
school = models.CharField(max_length=200, blank=True, null=True)
student_id = models.CharField(max_length=15, blank=True, null=True)
class Meta: