Hello coders, I found this debug tool for Django at djangosnippets.org and was wondering if I could get some help for that.
Even know I have DEBUG = True and TEMPLATE_DEBUG = DEBUG set in the Django Settting.py in my template this: {% if debug %} or this: {% if DEBUG %} is not set at all. I can import the setting via return object_list(extra_context={'DEBUG': settings.DEBUG}) But that does not help since the code needs sql_queries as well, anyway I thing I am doing something wrong here but I can't figure it out. I am using "return render_to_response" so RequestContext should be set. What else is there? Here is the link to the code: http://www.djangosnippets.org/snippets/93/ Thanks --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---