Show the SQL that's being generated on each query.
|Reported by:||Owned by:||Adrian Holovaty|
|Severity:||trivial||Keywords:||db, debug, sql|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In the old days I used to write all the SQL in every project that required a db and although I'm enjoying a lot the ORM approach implemented on Django I still have some troubles in doing certain "complex" queries.
Before deciding to give this project a go, I've played with SQLObject and enjoyed a lot a debug feature which shows all the SQL that hits the db.
I'd love to see it on Django too.
A (hopefully) faithful customer,
João C. Morais