2009-01-26

SQL History in Django

Use django.db.connection to get SQL history.
Example:
from django.db import connection
connection.queries