Changed redirect url after login

This commit is contained in:
Levi 2016-05-03 01:06:43 -05:00
parent 7d697b3c3a
commit bbddb48ecc

View file

@ -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