On Wed, 2008-09-24 at 20:45 -0700, Chris wrote:
> I'm trying to debug a usage of callproc, which doesn't return any rows
> when used inside Django. Is there anyway to view the SQL and escaped
> values sent from db cursor?
There is no public API in the Python database wrappers to determine how
t
Hi,
maybe the SQLLogMiddleware snippet helps you:
http://www.djangosnippets.org/snippets/344/
Thomas Güttler
Chris schrieb:
> I'm trying to debug a usage of callproc, which doesn't return any rows
> when used inside Django. Is there anyway to view the SQL and escaped
> values sent from db cur
The FAQ recipe (when run from a manage.py shell) didn't produce
anything in my application.
I found this which might help:
http://blog.michaeltrier.com/2007/8/11/display-the-sql-django-orm-is-generating
On Sep 25, 5:45 am, Chris <[EMAIL PROTECTED]> wrote:
> I'm trying to debug a usage of callpro
I'm trying to debug a usage of callproc, which doesn't return any rows
when used inside Django. Is there anyway to view the SQL and escaped
values sent from db cursor? I found
http://docs.djangoproject.com/en/dev/faq/models/#how-can-i-see-the-raw-sql-queries-django-is-running
by this doesn't show
4 matches
Mail list logo