From d2b65aad321bd7d80d7d10da8475f1c01c80fe8f Mon Sep 17 00:00:00 2001 From: Curtis Maloney Date: Fri, 1 Dec 2023 11:59:19 +1100 Subject: [PATCH] Update 2_installation.rst Fix block indentation in Installation documentation. --- docs/2_installation.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/2_installation.rst b/docs/2_installation.rst index e1d6a15..ccf68d0 100644 --- a/docs/2_installation.rst +++ b/docs/2_installation.rst @@ -34,10 +34,10 @@ After installing the package, the project settings need to be configured. 'django.contrib.auth.backends.ModelBackend', ] - For backwards compatibility, ``AxesBackend`` can be used in place of ``AxesStandaloneBackend``. - The only difference is that ``AxesBackend`` also provides the permissions-checking functionality - of Django's ``ModelBackend`` behind the scenes. We recommend using ``AxesStandaloneBackend`` - if you have any custom logic to override Django's standard permissions checks. +For backwards compatibility, ``AxesBackend`` can be used in place of ``AxesStandaloneBackend``. +The only difference is that ``AxesBackend`` also provides the permissions-checking functionality +of Django's ``ModelBackend`` behind the scenes. We recommend using ``AxesStandaloneBackend`` +if you have any custom logic to override Django's standard permissions checks. **3.** Add ``axes.middleware.AxesMiddleware`` to your list of ``MIDDLEWARE``::