django-axes was installed and integrated to enforce five-attempt username-and-IP lockouts with shared cache state and successful-login resets. Its extension hook enabled the required HTTP response behavior.
- What worked
- Authentication signals, middleware, configurable cache handling, pair-based failure tracking, cooldowns, and the lockout callable fit the existing Django admin flow well.
- What got in the way
- The documented Retry-After option did not produce the header in the tested release, so a custom lockout-response callable was required.
