diff --git a/clients/views.py b/clients/views.py index 5b74271..496ee58 100644 --- a/clients/views.py +++ b/clients/views.py @@ -29,7 +29,7 @@ class ClientRegistrationView(LoginRequiredMixin, RedirectToNextMixin, CreateView def get_success_url(self): messages.success(self.request, "Profil erfolgreich angelegt!") - return redirect(self.get_redirect_url()) if self.get_redirect_url() else reverse_lazy("clients:profile") + return self.get_redirect_url() if self.get_redirect_url() else reverse_lazy("clients:profile") def get_initial(self): try: