修改用户属性设置页面,添加学校字段,合并了一些冲突

This commit is contained in:
esp
2015-11-10 18:46:51 +08:00
parent d64659ec6f
commit 0a9b9df13a
6 changed files with 100 additions and 50 deletions

View File

@@ -68,6 +68,9 @@ class UserProfile(models.Model):
submissions_number = models.IntegerField(default=0)
# JSON字典用来表示该用户的问题的解决状态 1为ac2为正在进行
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)
class Meta:
db_table = "user_profile"