Merged in change-gravatar (pull request #5)

Changed to wavatar default
This commit is contained in:
Tom Price
2015-04-20 14:01:21 +01:00

View File

@@ -19,7 +19,7 @@ class Profile(AbstractUser):
def profile_picture(self):
url = ""
if settings.USE_GRAVATAR or settings.USE_GRAVATAR is None:
url = "https://www.gravatar.com/avatar/" + hashlib.md5(self.email).hexdigest() + "?d=identicon&s=500"
url = "https://www.gravatar.com/avatar/" + hashlib.md5(self.email).hexdigest() + "?d=wavatar&s=500"
return url
@property