After WEI registration validation, come back to unvalidate registration page

This commit is contained in:
bleizi 2023-08-30 09:52:17 +02:00
parent c328c1457c
commit 4ab22c92b3
No known key found for this signature in database
GPG Key ID: D46D7E3364433208
1 changed files with 1 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@ class WEIValidateRegistrationView(ProtectQuerysetMixin, ProtectedCreateView):
def get_success_url(self): def get_success_url(self):
self.object.refresh_from_db() 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): class WEISurveyView(LoginRequiredMixin, BaseFormView, DetailView):