From 048266ed61c9e3c37cadf6bda1bd01cae3e6aab3 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 7 Sep 2021 22:09:00 +0200 Subject: [PATCH] [WEI] Fix unvalidated registrations table Signed-off-by: Yohann D'ANELLO --- apps/wei/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wei/views.py b/apps/wei/views.py index b3d2c3a4..6ea0ddbb 100644 --- a/apps/wei/views.py +++ b/apps/wei/views.py @@ -132,7 +132,7 @@ class WEIDetailView(ProtectQuerysetMixin, LoginRequiredMixin, DetailView): wei=club ) pre_registrations_table = WEIRegistrationTable(data=pre_registrations, prefix="pre-registration-") - pre_registrations_table.paginate(per_page=20, page=self.request.GET.get('membership-page', 1)) + pre_registrations_table.paginate(per_page=20, page=self.request.GET.get('pre-registration-page', 1)) context['pre_registrations'] = pre_registrations_table my_registration = WEIRegistration.objects.filter(wei=club, user=self.request.user)