Django cerberos is an app that watches failed login attempts and blocks the users after N times.