On 8/28/06, Rob Hudson <[EMAIL PROTECTED]> wrote:
> In my settings.py Debug is set to True, which, according to the docs is
> what activates this context.  But I don't see anything in my template.

Hey Rob,

Are you using RequestContext, rather than Context, when you populate
the template? You'll only get access to the 'debug' and 'sql_queries'
variables if you use RequestContext.

Here are the docs:

http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to