Return to Snippet

Revision: 39994
at January 24, 2011 19:22 by caruso_g


Initial Code
from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS

TEMPLATE_CONTEXT_PROCESSORS += ('your.context.preprocessors')

Initial URL

                                

Initial Description
Instead of directly edit your TEMPLATE\_CONTEXT\_PROCESSORS, import it in your app's settings.py and just append what you need.

(credits: denysonique and all #django channel community)

Initial Title
Edit TEMPLATE_CONTEXT_PROCESSORS in your settings.py

Initial Tags
template, django

Initial Language
Django