I read about template contexts and wanted to get a sample of one.  I
put this in my base template:

  {% block debug %}
  {% if debug %}
  Debug is true!
  {% endif %}
  {% for s in sql_queries %}
  SQL: {{ s.sql }}<br>
  TIME: {{ s.time }}<br>
  {% endfor %}
  {% endblock %}

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.

I see the code is also referring to INTERNAL_IPS so I set that to
127.0.0.1 since I'm running the built-in server.  Still nothing.

Any ideas?

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

Reply via email to