Skip links

Jody Boucher

Software Engineer

Tag

1 post tagged with overview

Django Middleware: An overview of middleware

The Django web framework contains hooks enabling a global mechanism for modifying the request and/or response in between the web-server interface and the view. Django middleware are the components that make use of these hooks.

An example of Django middleware is a component that adds a user attribute to each incoming HttpRequest.

This post provides an overview of middleware in the Django web framework.

[Read more…]about Django Middleware: An overview of middleware