Redirect users to orders after generic payment is successful
This commit is contained in:
parent
ff993e32db
commit
d99271f71d
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ class OrderConfirmationView(DetailView):
|
|||
response = {
|
||||
'status': True,
|
||||
'redirect': (
|
||||
reverse('hosting:virtual_machines')
|
||||
reverse('hosting:orders')
|
||||
if request.user.is_authenticated()
|
||||
else reverse('datacenterlight:index')
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue