From 826573f5535431b056424f22d1b0a916c724ccd2 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Wed, 25 Mar 2020 16:58:15 +0100 Subject: [PATCH] whitespaces compliance --- apps/member/views.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/member/views.py b/apps/member/views.py index 9e88ae02..7d3ed748 100644 --- a/apps/member/views.py +++ b/apps/member/views.py @@ -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"