SO JETZT ABER! P E N I S
This commit is contained in:
parent
33c250af0e
commit
3f7d5fb993
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 5.9 KiB |
Binary file not shown.
|
|
@ -118,7 +118,7 @@ class Profile(models.Model):
|
||||||
if self.image and hasattr(self.image, 'url'):
|
if self.image and hasattr(self.image, 'url'):
|
||||||
return self.image.url
|
return self.image.url
|
||||||
else:
|
else:
|
||||||
return "/media/userprofilepcis/default.jpg"
|
return "/media/userprofilepics/default.jpg"
|
||||||
|
|
||||||
# PERMISSIONS - Über alle Modelle hinweg, in der url.py wird dann die route verhindert!
|
# PERMISSIONS - Über alle Modelle hinweg, in der url.py wird dann die route verhindert!
|
||||||
# Im template: if perms.users.PERMISSION
|
# Im template: if perms.users.PERMISSION
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue