Tuesday, June 29, 2010

Re: Signal emitted after successful login?

On 2010-06-29, at 10:48 AM, tiemonster wrote:

> Is a signal emitted after a successful login? I need to hook a
> particular piece of code into that point in the application.


Not specifically, if you are using django.contrib.auth last_login is set by some scripts, eg the login django.contrib.auth.login. So you can listen to the save signals on that model.
--
Andy McKay, @andymckay
Django Consulting, Training and Support

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment