mirror of
https://github.com/django/django.git
synced 2025-11-17 10:43:25 +00:00
Doc'd that middleware hooks may also be used with function-based middleware
This commit is contained in:
parent
e183d6c26c
commit
ea35f382f3
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue