update dockerfile and settings

This commit is contained in:
zema1
2017-10-24 21:14:29 +08:00
parent e8841eae82
commit b694000ab9
9 changed files with 19 additions and 137 deletions

View File

@@ -85,7 +85,7 @@ class UserProfile(models.Model):
oi_problems_status = JSONField(default=dict)
real_name = models.CharField(max_length=32, blank=True, null=True)
avatar = models.CharField(max_length=256, default=f"/{settings.IMAGE_UPLOAD_DIR}/default.png")
avatar = models.CharField(max_length=256, default=f"{settings.AVATAR_URI_PREFIX}/default.png")
blog = models.URLField(blank=True, null=True)
mood = models.CharField(max_length=256, blank=True, null=True)
github = models.CharField(max_length=64, blank=True, null=True)