Like, have them logged to the console?
Posted by Roy Tang under notes at
#django
#questions
#stackoverflow
#software development
Also on: stackexchange / 3
Also on: stackexchange / 3
On This Site
Things I Write About
Certainly. From the command line/shell:
Variant 2:
If you want to print the queries used to render a page then you can use the toolbar as @Meitham suggested or use this Django snippet.
You can decorate a request handler or other function with this and it will print the sql nicely formated with totals at the end.