Opened 4 hours ago
Last modified 4 hours ago
#36994 assigned Uncategorized
Middleware hooks working on functional middleware is not documented
| Reported by: | Aarni Koskela | Owned by: | Aarni Koskela |
|---|---|---|---|
| Component: | Core (Other) | Version: | 6.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Middleware hooks like process_exception, process_template_response, process_view factually work on function middleware (though process_template_response requires a gentle adjustment to how middleware name is computed).
This is undocumented behavior, so it would probably be best to codify it in documentation.
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/20954