Changed to wavatar default

This commit is contained in:
David Taylor
2015-03-31 16:50:14 +01:00
parent 1a2883b931
commit 80e8efc763

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