Question

I have middleware which do some work for me. Is it possible to pass some data to this middleware in respect to template which will be rendered?

Lets assume that I have urls:

url(r'^some/$', direct_to_template, {'template': 'some.html'}, name='community', kwargs={'value': 'value'}),

and I would like to pass value to middleware. Is it possible?

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top