I've got a Python/Django application which runs quite a lot of SQL
statements. For debugging purposes, I thought I should create a
simple view for me which just lists all the SQL statements that have
According to the documentation, this code should
be enough to do that:
from django.db import
as long as
DEBUG is True.
However, this is not giving me anything.
DEBUG is most certainly set to True. In what context is this
connection.queries stored? I'm mean, I should be able to execute one
page which executes a lot of SQL statements, and then ju