/ Published in: Django
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)
Expand |
Embed | Plain Text
from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS TEMPLATE_CONTEXT_PROCESSORS += ('your.context.preprocessors')
You need to login to post a comment.
