Sql statement for a query with the Django ORM? Get link Facebook X Pinterest Email Other Apps December 07, 2012 from django.db import connection sql_statement = connection.queries.pop() print sql_statement['sql'] more..