Re: getting raw SQL queries

2007-03-09 Thread Malcolm Tredinnick
On Fri, 2007-03-09 at 15:05 +, Iapain wrote: > Greetings Malcom! > > I think you are right, is it possible in django to log all SQL > statement? No. You would need to do this yourself somehow. Regards, Malcolm --~--~-~--~~~---~--~~ You received this messag

Re: getting raw SQL queries

2007-03-09 Thread Iapain
Greetings Malcom! I think you are right, is it possible in django to log all SQL statement? Cheers! On Mar 9, 3:57 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-03-09 at 14:50 +, Iapain wrote: > > Hello, > > > I am writing a SQL logviewer for sql queries fired by django.

Re: getting raw SQL queries

2007-03-09 Thread Iapain
Yes, I think you are right, I suspected that but I tried in middleware too but its still empty. On Mar 9, 3:55 pm, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > Iapain wrote: > > Hello, > > > I am writing a SQL logviewer for sql queries fired by django. If I use > > below code then i get an empty li

Re: getting raw SQL queries

2007-03-09 Thread Malcolm Tredinnick
On Fri, 2007-03-09 at 14:50 +, Iapain wrote: > Hello, > > I am writing a SQL logviewer for sql queries fired by django. If I use > below code then i get an empty list of dictionary. > > from django.db import conneciton > from django.conf import settings > debug = settings.DEBUG #btw its alwa

Re: getting raw SQL queries

2007-03-09 Thread Ivan Sagalaev
Iapain wrote: > Hello, > > I am writing a SQL logviewer for sql queries fired by django. If I use > below code then i get an empty list of dictionary. > > from django.db import conneciton > from django.conf import settings > debug = settings.DEBUG #btw its always True, because i set it to true >

getting raw SQL queries

2007-03-09 Thread Iapain
Hello, I am writing a SQL logviewer for sql queries fired by django. If I use below code then i get an empty list of dictionary. from django.db import conneciton from django.conf import settings debug = settings.DEBUG #btw its always True, because i set it to true in my settings.py settings.DEBU