From a1dc8fe53016d6d003df1a92c5bf42ede45a2a4e Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Wed, 19 Aug 2020 23:00:49 +0200 Subject: [PATCH] fix trailing comma --- apps/activity/views.py | 4 ++-- apps/member/views.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/activity/views.py b/apps/activity/views.py index ab154a0e..db318fdc 100644 --- a/apps/activity/views.py +++ b/apps/activity/views.py @@ -174,7 +174,7 @@ class ActivityEntryView(LoginRequiredMixin, TemplateView): raise PermissionDenied(_("This activity is closed.")) return super().dispatch(request, *args, **kwargs) - def get_invited_guest(self,activity): + def get_invited_guest(self, activity): """ Retrieves all Guests to the activity """ @@ -200,7 +200,7 @@ class ActivityEntryView(LoginRequiredMixin, TemplateView): guest_qs = guest_qs.none() return guest_qs - def get_invited_note(self,activity): + def get_invited_note(self, activity): """ Retrieves all Note that can attend the activity, they need to have an up-to-date membership in the attendees_club. diff --git a/apps/member/views.py b/apps/member/views.py index 52432ee6..ba4cb92e 100644 --- a/apps/member/views.py +++ b/apps/member/views.py @@ -29,7 +29,7 @@ from permission.models import Role from permission.views import ProtectQuerysetMixin, ProtectedCreateView from .forms import UserForm, ProfileForm, ImageForm, ClubForm, MembershipForm,\ - CustomAuthenticationForm, MembershipRolesForm, + CustomAuthenticationForm, MembershipRolesForm from .models import Club, Membership from .tables import ClubTable, UserTable, MembershipTable, ClubManagerTable