Changed redirect url after login
This commit is contained in:
parent
7d697b3c3a
commit
bbddb48ecc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue