diff --git a/orga/__pycache__/views.cpython-38.pyc b/orga/__pycache__/views.cpython-38.pyc index a45d195..642bcda 100644 Binary files a/orga/__pycache__/views.cpython-38.pyc and b/orga/__pycache__/views.cpython-38.pyc differ diff --git a/orga/views.py b/orga/views.py index b142c63..de617e7 100644 --- a/orga/views.py +++ b/orga/views.py @@ -65,7 +65,7 @@ def singleorga(request, pk): 'prios' : prios, 'mail' : user.email, 'userfunc' : user.profile.get_func_display, - 'imageurl' : user.profile.image.url, + 'imageurl' : user.profile.get_photo_url, 'compfunc' : user.profile.compfunc, 'phoneland' : user.profile.phoneland, 'phonemobile' : user.profile.phonemobile