Skip to content
Snippets Groups Projects
Commit 826573f5 authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

whitespaces compliance

parent 2d18cb98
No related branches found
No related tags found
1 merge request!68Front club
Pipeline #8034 passed with warnings with stages
in 4 minutes and 19 seconds
......@@ -269,11 +269,13 @@ class PictureUpdateView(LoginRequiredMixin, FormMixin, DetailView):
self.object.note.save()
return super().form_valid(form)
class ProfilePictureUpdateView(PictureUpdateView):
model = User
template_name = 'member/profile_picture_update.html'
context_object_name = 'user_object'
class ManageAuthTokens(LoginRequiredMixin, TemplateView):
"""
Affiche le jeton d'authentification, et permet de le regénérer
......@@ -331,7 +333,7 @@ class ClubCreateView(LoginRequiredMixin, CreateView):
model = Club
form_class = ClubForm
success_url = reverse_lazy('member:club_list')
def form_valid(self, form):
return super().form_valid(form)
......@@ -366,7 +368,7 @@ class ClubDetailView(LoginRequiredMixin, DetailView):
context['member_list'] = club_member
return context
class ClubUpdateView(LoginRequiredMixin, UpdateView):
model = Club
context_object_name = "club"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment