Hi,
I've been having some problems in the project I'm building with Django
and a legacy MySQL database.
I needed to see the SQL queries that are being executed by Django.
I have DEBUG=true in the settings file.
I opened a python shell and typed:
>>> from django.db import connection
>>> connection.queries
[]

The output is an empty list. I don't understand why this is happening.
I open pages that get tables (it does a select), I do inserts and
updates and nothing shows on the connection.queries list.
Anyone got any idea why this is happening?
Thanks for your time.

Ana


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

Reply via email to