'time' and 'sql' are set at
CursorDebugWrapper(django.db.backends.util.py).
I wrote debug middleware for MR(2509) and I think it works even now.
http://www.everes.net/django-db-debug-out-middleware/

Attention, you must set settings.DEBUG to TRUE,not only this middleware
but also using connection.queries['time' or 'sql'] .


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