From 4ab22c92b33c6309b9837ea5708338877ab787fa Mon Sep 17 00:00:00 2001 From: bleizi Date: Wed, 30 Aug 2023 09:52:17 +0200 Subject: [PATCH] After WEI registration validation, come back to unvalidate registration page --- 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 dd7b3fa1..4f2b7b65 100644 --- a/apps/wei/views.py +++ b/apps/wei/views.py @@ -1014,7 +1014,7 @@ class WEIValidateRegistrationView(ProtectQuerysetMixin, ProtectedCreateView): def get_success_url(self): self.object.refresh_from_db() - return reverse_lazy("wei:wei_detail", kwargs={"pk": self.object.club.pk}) + return reverse_lazy("wei:wei_registrations", kwargs={"pk": self.object.club.pk}) class WEISurveyView(LoginRequiredMixin, BaseFormView, DetailView):