mirror of https://gitlab.crans.org/bde/nk20
fix trailing comma
This commit is contained in:
parent
6ea92cdcde
commit
a1dc8fe530
|
@ -174,7 +174,7 @@ class ActivityEntryView(LoginRequiredMixin, TemplateView):
|
||||||
raise PermissionDenied(_("This activity is closed."))
|
raise PermissionDenied(_("This activity is closed."))
|
||||||
return super().dispatch(request, *args, **kwargs)
|
return super().dispatch(request, *args, **kwargs)
|
||||||
|
|
||||||
def get_invited_guest(self,activity):
|
def get_invited_guest(self, activity):
|
||||||
"""
|
"""
|
||||||
Retrieves all Guests to the activity
|
Retrieves all Guests to the activity
|
||||||
"""
|
"""
|
||||||
|
@ -200,7 +200,7 @@ class ActivityEntryView(LoginRequiredMixin, TemplateView):
|
||||||
guest_qs = guest_qs.none()
|
guest_qs = guest_qs.none()
|
||||||
return guest_qs
|
return guest_qs
|
||||||
|
|
||||||
def get_invited_note(self,activity):
|
def get_invited_note(self, activity):
|
||||||
"""
|
"""
|
||||||
Retrieves all Note that can attend the activity,
|
Retrieves all Note that can attend the activity,
|
||||||
they need to have an up-to-date membership in the attendees_club.
|
they need to have an up-to-date membership in the attendees_club.
|
||||||
|
|
|
@ -29,7 +29,7 @@ from permission.models import Role
|
||||||
from permission.views import ProtectQuerysetMixin, ProtectedCreateView
|
from permission.views import ProtectQuerysetMixin, ProtectedCreateView
|
||||||
|
|
||||||
from .forms import UserForm, ProfileForm, ImageForm, ClubForm, MembershipForm,\
|
from .forms import UserForm, ProfileForm, ImageForm, ClubForm, MembershipForm,\
|
||||||
CustomAuthenticationForm, MembershipRolesForm,
|
CustomAuthenticationForm, MembershipRolesForm
|
||||||
from .models import Club, Membership
|
from .models import Club, Membership
|
||||||
from .tables import ClubTable, UserTable, MembershipTable, ClubManagerTable
|
from .tables import ClubTable, UserTable, MembershipTable, ClubManagerTable
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue