From 539117741eb9717cdf828a2f20182e49570023f1 Mon Sep 17 00:00:00 2001 From: Levi Date: Tue, 3 May 2016 01:06:43 -0500 Subject: [PATCH] Changed redirect url after login --- hosting/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/views.py b/hosting/views.py index bfdb5d13..3494c983 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -101,7 +101,7 @@ class IndexView(View): class LoginView(FormView): template_name = 'hosting/login.html' - success_url = reverse_lazy('hosting:login') + success_url = reverse_lazy('hosting:orders') form_class = HostingUserLoginForm moodel = CustomUser