fix trailing comma

This commit is contained in:
Pierre-antoine Comby 2020-08-19 23:00:49 +02:00
parent 6ea92cdcde
commit a1dc8fe530
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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