Change success_url in hosting.SignupView from ssh_keys to dashboard
This commit is contained in:
parent
72baa3635b
commit
87cdb08f3c
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ class SignupView(CreateView):
|
||||||
template_name = 'hosting/signup.html'
|
template_name = 'hosting/signup.html'
|
||||||
form_class = HostingUserSignupForm
|
form_class = HostingUserSignupForm
|
||||||
model = CustomUser
|
model = CustomUser
|
||||||
success_url = reverse_lazy('hosting:ssh_keys')
|
success_url = reverse_lazy('hosting:dashboard')
|
||||||
|
|
||||||
def get_success_url(self):
|
def get_success_url(self):
|
||||||
next_url = self.request.session.get(
|
next_url = self.request.session.get(
|
||||||
|
|
Loading…
Reference in a new issue