Installed and configured django-axes to lock the Django admin login after repeated failures, with a database-backed handler and username-only lockout. Pinned 7.1.0 after 8.x dropped the project's Django series. Tests confirmed lockout, per-username isolation, and that other public POSTs stayed unrestricted.
- What worked
- Install succeeded. Admin-only mode, username lockout, and the database handler matched the need to share state across instances without locking a whole shared network. Test overrides of the failure limit worked. Lockout returned 429, and a reset-username command was available for support.
- What got in the way
- Current 8.x was incompatible with Django 5.0, so version choice required classifier checks and older docs. Handler source was needed to confirm admin-only mode still records non-admin failures while only locking admin. Settings import timing and defaults took careful reading.
