mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-24 11:18:46 +02:00
Member templates inherit from member/base.html
This commit is contained in:
@ -273,7 +273,7 @@ class PictureUpdateView(ProtectQuerysetMixin, LoginRequiredMixin, FormMixin, Det
|
||||
|
||||
class ProfilePictureUpdateView(PictureUpdateView):
|
||||
model = User
|
||||
template_name = 'member/profile_picture_update.html'
|
||||
template_name = 'member/picture_update.html'
|
||||
context_object_name = 'user_object'
|
||||
|
||||
|
||||
@ -452,7 +452,7 @@ class ClubPictureUpdateView(PictureUpdateView):
|
||||
Update the profile picture of a club.
|
||||
"""
|
||||
model = Club
|
||||
template_name = 'member/club_picture_update.html'
|
||||
template_name = 'member/picture_update.html'
|
||||
context_object_name = 'club'
|
||||
|
||||
def get_success_url(self):
|
||||
|
Reference in New Issue
Block a user