Changed redirect url after login
This commit is contained in:
parent
906df2a111
commit
539117741e
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