Ensure that the user is authenticated before that it has the permission to see page
This commit is contained in:
parent
b16871d925
commit
4997a37058
6 changed files with 34 additions and 13 deletions
|
|
@ -295,7 +295,7 @@ class ManageAuthTokens(LoginRequiredMixin, TemplateView):
|
|||
# ******************************* #
|
||||
|
||||
|
||||
class ClubCreateView(ProtectQuerysetMixin, LoginRequiredMixin, ProtectedCreateView):
|
||||
class ClubCreateView(ProtectQuerysetMixin, ProtectedCreateView):
|
||||
"""
|
||||
Create Club
|
||||
"""
|
||||
|
|
@ -446,7 +446,7 @@ class ClubPictureUpdateView(PictureUpdateView):
|
|||
return reverse_lazy('member:club_detail', kwargs={'pk': self.object.id})
|
||||
|
||||
|
||||
class ClubAddMemberView(ProtectQuerysetMixin, LoginRequiredMixin, ProtectedCreateView):
|
||||
class ClubAddMemberView(ProtectQuerysetMixin, ProtectedCreateView):
|
||||
"""
|
||||
Add a membership to a club.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue