The BDE offers 80 € to each new member that registers to the Société générale
This commit is contained in:
parent
dc6a5f56f6
commit
fa3c723140
10 changed files with 60 additions and 32 deletions
|
|
@ -138,7 +138,7 @@ class UserDetailView(ProtectQuerysetMixin, LoginRequiredMixin, DetailView):
|
|||
"""
|
||||
We can't display information of a not registered user.
|
||||
"""
|
||||
return super().get_queryset().filter(profile__registration_valid=True)
|
||||
return super().get_queryset(**kwargs).filter(profile__registration_valid=True)
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue