Pergunta

I need to implement a "Remember me" button in a login form that uses the django-registration app. Any ane can help me showing me the way for do this?

Thanks

Foi útil?

Solução

One way to do it is to change the session expiration date. This snippet gives an example: http://www.djangosnippets.org/snippets/1881/

Outras dicas

Apparently, there's module for that:

http://code.google.com/p/django-remember-me/

I haven't used it but it came up during my search.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top