django url parameters into context_processor
You can access request.resolver_match
from the context processor. This will give you access to the resolved url parameters in request.resolver_match.kwargs
I just tell you the idea here. When the url calls view_1
function , you have language, shop, brand values ... here why don''t you set that values into session
and get that values in Context Processor
using session
variable ..