From d0a1338eb4e6fb5382c35a8d203160623e5f6e10 Mon Sep 17 00:00:00 2001 From: Anatoly Date: Wed, 7 Oct 2020 18:19:54 +0200 Subject: [PATCH] Update documentation of AxesMiddleware --- axes/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axes/middleware.py b/axes/middleware.py index 41cba68..d148656 100644 --- a/axes/middleware.py +++ b/axes/middleware.py @@ -17,7 +17,7 @@ class AxesMiddleware: Middleware that calculates necessary HTTP request attributes for attempt monitoring and maps lockout signals into readable HTTP 403 Forbidden responses. - If a project uses `django rest framework`` then the middleware updates the + If a project uses ``django rest framework`` then the middleware updates the request and checks whether the limit has been exceeded. It's needed only for integration with DRF because it uses its own request object.