Rob Hudson wrote: > 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?
I saw that my custom context processor was working. I then output "LANGUAGES" and that was working. So I took another look and at some point I had removed the INTERNAL_IPS setting. Adding it back in shows the debug output. Nice. So I was originally missing the 3rd argument to render_to_response. Thanks, 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 -~----------~----~----~----~------~----~------~--~---