mirror of
https://github.com/django/django.git
synced 2025-11-19 19:24:46 +00:00
Merge ea35f382f3 into 5c60763561
This commit is contained in:
commit
2e69dcb357
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
|
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:
|
.. _view-middleware:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue