What is django middleware?

editAnswer

reportReport

Answer(s) available: 1

Laksh Shroff

, Pharmacist, Ibm Change Management

Middleware is a framework of hooks into Django's request/response processing. A Django middleware is like a plug-in that you can hook into the Django's request /response cycle. In Django, middleware is a lightweight plugin that processes during request and response execution. In a nutshell, a Middleware is a regular Python class that hooks into Django's request/response life cycle. As mentioned in the Django official docs, Middleware is a framework of hooks into Django's request/response processing.

thumb_upUpvote11

smsComment

reportReport