What is the utilization of middlewares in Django?
Middleware is a function which transforms a user request or response as it passes through the view layer.
Its utilization is-
- Can be used for session management
- For user authentication
- It also helps in cross-site request forgery production
- Content Gzipping.
BY Best Interview Question ON 19 Sep 2019