Saturday, May 29, 2010

What would be the best way to implement a login audit?

I'm developing an intranet application where one of the requested
features is having a detailed log containing entries of IP, user and
timestamp every time someone has logged in successfully. Also as a
bonus feature I'd like to implement a log of failed login attempts.
What would be the cleanest approach to do this?
Wrap the login view in contrib.auth with my own?
Or write a custom auth backend?

You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment