Using Django I want to implement some middleware that will calculate some context that is to be used by the view itself.
Django
For example, I have a middleware