, Jan 14, 2010 at 10:50 AM, Pablo López wrote:
> > I *did* search in this group... not in others :-)
>
> > Thank you anyway
>
> Ah, well for future reference, django-dev is specifically for the
> development *of* django. For help with using django you should always
> go
/groups.google.com/group/django-users/browse_thread/thread/323c...
>
> Gonzalo Riestra
>
> On 14 ene, 12:52, Pablo López wrote:
>
>
>
> > Hi everyone!
>
> > In my login function in views.py I make use of set_expiry function to
> > set the cookie expriry time
Hi everyone!
In my login function in views.py I make use of set_expiry function to
set the cookie expriry time depending on the selection of a "remember
me" checkbox on the login form:
if not form.cleaned_data["rememberme"]:
request.session.set_expiry(0)
else:
request.session.set_expiry(2