Hey,
The default value is perfectly fine,
I just wanted to say that there can be a default template that the
logged-in user be redirected if he tries to access the login page.
On Saturday, April 30, 2016 at 4:19:06 PM UTC+5:30, Shai Berger wrote:
>
> On Saturday 30 April 2016 13:05:38 rajat vija
On Saturday 30 April 2016 13:05:38 rajat vijay wrote:
> Yeah it accomplishes what I want but it's False by default and without
> extending the login view it will always be False.
> What I am suggesting is it that by default the user should be redirected to
> another template(maybe a new one) when t
Yeah it accomplishes what I want but it's False by default and without
extending the login view it will always be False.
What I am suggesting is it that by default the user should be redirected to
another template(maybe a new one) when trying to access the login page.
I suggesting it to be defaul
Django 1.10 adds a "redirect_authenticated_user" parameter for the login
view which, if I understand correctly, accomplishes what you want.
https://docs.djangoproject.com/en/dev/topics/auth/default/#django.contrib.auth.views.login
On Friday, April 29, 2016 at 4:40:37 PM UTC-4, rajat vijay wrote:
Hey,
Thank in advance
I think that once the user has logged in he should not be able to access
the template having the login form w/o getiing logged out.
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
T