diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index 1c3b3c2a26..af5d8cd7af 100644 --- a/docs/topics/http/middleware.txt +++ b/docs/topics/http/middleware.txt @@ -154,7 +154,8 @@ Other middleware hooks ====================== Besides the basic request/response middleware pattern described earlier, you -can add three other special methods to class-based middleware: +can add three other special methods to class-based middleware as methods or +function-based middleware as attributes of the middleware function: .. _view-middleware: