As of the documentation, there should be variables called "debug" and "sql_queries" usable in templates if all requirements are met.
I have set the following (and checked their values with the debug toolbar):
DEBUG = True
TEMPLATE_DEBUG = True
TEMPLATE_CONTEXT_PROCESSORS
left at its default value (containing 'django.core.context_processors.debug')INTERNAL_IPS = ('127.0.0.1',)
(and the debug toolbar showsREMOTE_ADDR = '127.0.0.1'
under "HTTP Headers")TEMPLATE_STRING_IF_INVALID = "(invalid variable '%s'!)"
When rendering a template containing {{ sql_queries }} {{ debug }}
, I get (invalid variable 'sql_queries'!) (invalid variable 'debug'!)
as output.
My Django version is 1.2.3. What am I missing here?