I\'m looking for the most elegant way to lock a Django user account after several failed login attempts.
\"What have I tried?\":
We used django-lockout and it worked really well
UPDATE: django-lockout's last release was 2011: https://pypi.org/project/django-lockout/. The Github project does not exist anymore (404).