Redirecting users on creation of accounts to my virtual machines page

This commit is contained in:
PCoder 2017-09-24 00:22:18 +05:30
parent ea9e62db37
commit 537e350c8c

View file

@ -639,7 +639,7 @@ class OrderConfirmationView(DetailView):
response = {
'status': True,
'redirect': reverse(
'hosting:dashboard') if request.user.is_authenticated() else reverse(
'hosting:virtual_machines') if request.user.is_authenticated() else reverse(
'datacenterlight:index'),
'msg_title': str(_('Thank you for the order.')),
'msg_body': str(