Adrian Holovaty wrote:
> 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.

I was using the render_to_response shortcut.  I added this as the 3rd 
argument:

     context_instance=RequestContext(request)

And imported it at the top of my views.py file:

     from django.template import RequestContext

Am I missing something?

-Rob

--~--~---------~--~----~------------~-------~--~----~
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