I'm trying to override the default Account/context_processors.py for the Pinax project.
However, each time I try, it can't find the file and continues to use the default.
The path of the file in the default project is: pinax/apps/account/context_processors.py
I have tried placing a custom version of context_processors.py it in the following locations in my project:
I assumed that the first would have been the way to go.
What am I doing wrong?
Django relies on TEMPLATE_CONTEXT_PROCESSORS
to locate and import context processor. It's a bit different from the behavior of template searching.
So override TEMPLATE_CONTEXT_PROCESSORS
in settings file to change "pinax.apps.account.context_processors.account"
to your import path.