From ef39b3da2d6f7250d8efc62f6c8a70e29718099a Mon Sep 17 00:00:00 2001 From: Daniel Brown Date: Sun, 4 Oct 2020 01:05:31 +0200 Subject: [PATCH] Add username to docs of lockout template --- docs/4_configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/4_configuration.rst b/docs/4_configuration.rst index 27b647a..a38ad36 100644 --- a/docs/4_configuration.rst +++ b/docs/4_configuration.rst @@ -61,7 +61,7 @@ The following ``settings.py`` options are available for customizing Axes behavio * ``AXES_CACHE``: The name of the cache for Axes to use. Default: ``'default'`` * ``AXES_LOCKOUT_TEMPLATE``: If set, specifies a template to render when a - user is locked out. Template receives ``cooloff_timedelta``, ``cooloff_time`` and ``failure_limit`` as + user is locked out. Template receives ``cooloff_timedelta``, ``cooloff_time``, ``username`` and ``failure_limit`` as context variables. Default: ``None`` * ``AXES_LOCKOUT_URL``: If set, specifies a URL to redirect to on lockout. If both