Set success_url based on flow: hosting vs landing
This commit is contained in:
parent
207c3a6c6c
commit
c35bc79c5c
1 changed files with 3 additions and 0 deletions
|
@ -262,3 +262,6 @@ class AskSSHKeyView(SSHKeyCreateView):
|
||||||
}
|
}
|
||||||
return render(request, self.template_name, context)
|
return render(request, self.template_name, context)
|
||||||
|
|
||||||
|
def post(self, request, *args, **kwargs):
|
||||||
|
self.success_url = self.request.get("order_confirm_url")
|
||||||
|
return super(AskSSHKeyView, self)
|
Loading…
Reference in a new issue