Add the context processor method path (folder.context_processor.application_context) to TEMPLATE_CONTEXT_PROCESSORS.
in my case application_context is the method that I defined inside the file context_processor.py and the method "application_context" returns {'titles': 'mytitle'}
if you want to use "title" as a global variable in views uses it this way
global_var = RequestContext(request).get("app_config") titles = global_var.get("titles") print titles
The only advantage is that the "same variable names" will be visible to the templates, as well as in your views "
source share