문제

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

도움이 되었습니까?

해결책

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

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top