14

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

z3a
  • 1,014
  • 2
  • 11
  • 20

2 Answers2

13

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

dar
  • 6,520
  • 7
  • 33
  • 44
  • Something's wrong with this link. Here it is: https://djangosnippets.org/snippets/1881/ It's the www. prepended that's not routed. – Patrick Bassut Feb 07 '14 at 22:24
2

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.

mhl666
  • 874
  • 8
  • 15