I have a weird problem, I want to add a global query using context processors. This is how I did it by following:
made a processor.py in my app as such:
<
When you specify this:
TEMPLATE_CONTEXT_PROCESSORS = ('myapp.processor.foos',)
In your settings file, you are overriding the Django's default context processors. In order to extend the list, you need to include the default ones in your settings:
TEMPLATE_CONTEXT_PROCESSORS = (
"django.core.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"myapp.processor.foos",
)
Note, the settings above are the defaults (plus your processor) for django 1.1.