From d99271f71deb64c52839791e4f97f06efaf63ce8 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 23 Sep 2018 17:19:24 +0200 Subject: [PATCH] Redirect users to orders after generic payment is successful --- datacenterlight/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index da121c8f..8e7b4b84 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -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') ),