shabda schrieb:
> If a user is not logged in, then on each page, I have a login form.
> This form posts to /accounts/login/ which does calls
> contrib.auth.views.login. This view only logs in a user if the
> session.test_cookie_worked().
>
> So this means that from each page I need to call,
> if n
If a user is not logged in, then on each page, I have a login form.
This form posts to /accounts/login/ which does calls
contrib.auth.views.login. This view only logs in a user if the
session.test_cookie_worked().
So this means that from each page I need to call,
if not request.user.is_authentica
2 matches
Mail list logo