This commit is contained in:
nikolark committed 2014-10-06 20:02:29 +02:00
1 parent d8a750151b
commit a2e7c595c1
1 file changed
+1 -1
+1 -1
View File
@@ -130,7 +130,7 @@ class UserProfile(models.Model):
def profile_image_url(self):
from django.templatetags.static import static
if self.image:
if not self.image:
return static('img/unknown_person.png')
return self.image