On 8/8/07, AnaReis <[EMAIL PROTECTED]> wrote:
> I have DEBUG=true in the settings file.

Perhaps you mean DEBUG = True?  The case of "true" matters.

> I opened a python shell and typed:
> >>> from django.db import connection
> >>> connection.queries
> []

Had you previously done queries using that process?  Django doesn't
collect the queries cross-process.

>>> from yourapp.models import YourModel
>>> YourModel.objects.count()
1
>>> from django.db import connection
>>> connection.queries
[{....},...]

No?

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