Try this:
TEMPLATE_CONTEXT_PROCESSORS = (
"satchmo.shop.context_processors.settings",
)
Note that ("") becomes "" - a string rather than a tuple. You need
("",) - an comma at the end for a single-element tuple.
This will show you why it's taking the first letter:
for x in 'abc':
print
xt.py
def get_standard_processors():
global _standard_context_processors
if _standard_context_processors is None:
processors = []
for path in settings.TEMPLATE_CONTEXT_PROCESSORS:
dbg = settings.TEMPLATE_CONTEXT_PROCESSORS
i = path.
2 matches
Mail list logo