Improve middleware documentation

This commit is contained in:
Aleksi Häkli 2019-05-25 21:04:47 +03:00
parent 7340f2c408
commit 4b7650d37d
No known key found for this signature in database
GPG key ID: 3E7146964D726BBE

View file

@ -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',
]