Re: Can't see the SQL queries being executed by Django

2007-08-08 Thread AnaReis
On Aug 8, 12:53 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > 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 conne

Re: Can't see the SQL queries being executed by Django

2007-08-08 Thread AnaReis
On Aug 8, 12:53 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > 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 conne

Re: Can't see the SQL queries being executed by Django

2007-08-08 Thread Jeremy Dunck
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 tha

Can't see the SQL queries being executed by Django

2007-08-08 Thread AnaReis
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.