django-urlmiddleware icon indicating copy to clipboard operation
django-urlmiddleware copied to clipboard

This app allows you to define middleware in your Django project based on url configurations rather than adding middleware globally to every single request.

Django urlmiddleware

Django urlmiddleware allows you to define middleware in your Django project with a URL based configuration, like views. This then allows you to enable middleware for specific paths rather than only globally for all requests.

See http://urlmiddleware.readthedocs.org/ for further documentation.