From ab2e576fe1f8c56f2810e09fa3882121a0aa545f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Mon, 23 Feb 2026 21:30:27 +0100 Subject: [PATCH] Clarify and/or conditions in AXES_LOCKOUT_PARAMETERS examples --- docs/5_customization.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/5_customization.rst b/docs/5_customization.rst index ec66f95..299a379 100644 --- a/docs/5_customization.rst +++ b/docs/5_customization.rst @@ -188,7 +188,7 @@ Example ``AXES_LOCKOUT_PARAMETERS`` configuration: AXES_LOCKOUT_PARAMETERS = ["ip_address", ["username", "user_agent"]] -This way, axes will lock out users using ip_address and/or combination of username and user agent +This way, axes will lock out users using ip_address or combination of username and user_agent Example of callable ``AXES_LOCKOUT_PARAMETERS``: @@ -213,7 +213,7 @@ Example of callable ``AXES_LOCKOUT_PARAMETERS``: AXES_LOCKOUT_PARAMETERS = "example.utils.get_lockout_parameters" -This way, if client ip_address is localhost, axes will lockout client only by username. In other case, axes will lockout client by username and/or ip_address. +This way, if client ip_address is localhost, axes will lockout client only by username. In other case, axes will lockout client by username or ip_address. Customizing client ip address lookups -------------------------------------