Merge pull request #57 from levivm/feature/vm_pricing
Changed redirect url after login
This commit is contained in:
commit
7455668161
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class IndexView(View):
|
||||||
|
|
||||||
class LoginView(FormView):
|
class LoginView(FormView):
|
||||||
template_name = 'hosting/login.html'
|
template_name = 'hosting/login.html'
|
||||||
success_url = reverse_lazy('hosting:login')
|
success_url = reverse_lazy('hosting:orders')
|
||||||
form_class = HostingUserLoginForm
|
form_class = HostingUserLoginForm
|
||||||
moodel = CustomUser
|
moodel = CustomUser
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue