mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-04 16:04:35 +00:00
Changed unicode for UserProfile
This commit is contained in:
@@ -34,6 +34,10 @@ class UserProfile(_BaseModel):
|
||||
profile_slug = models.CharField(max_length=35, blank=True, null=True, default=None)
|
||||
activity_sharing = models.IntegerField(default=0)
|
||||
activity_sharing_networks = models.IntegerField(default=0)
|
||||
|
||||
def __unicode__(self):
|
||||
return "%s - %s" % (self.display_name, self.profile_slug)
|
||||
|
||||
def save(self, size=(260, 180)):
|
||||
"""
|
||||
Save Photo after ensuring it is not blank. Resize as needed.
|
||||
|
||||
Reference in New Issue
Block a user