From 4b7650d37d7cc5dcb7a6c37d318715c0fa9229da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20Ha=CC=88kli?= Date: Sat, 25 May 2019 21:04:47 +0300 Subject: [PATCH] Improve middleware documentation --- docs/2_installation.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/2_installation.rst b/docs/2_installation.rst index dcd0aaf..9e5d3ef 100644 --- a/docs/2_installation.rst +++ b/docs/2_installation.rst @@ -46,6 +46,10 @@ After installing the package, the project settings need to be configured. 'django.middleware.clickjacking.XFrameOptionsMiddleware', # AxesMiddleware should be the last middleware in the MIDDLEWARE list. + # It only formats user lockout messages and renders Axes lockout responses + # on failed user authentication attempts from login views. + # If you do not want Axes to override the authentication response + # you can skip installing the middleware and use your own views. 'axes.middleware.AxesMiddleware', ]