Sql statement for a query with the Django ORM?


from django.db import connection

sql_statement = connection.queries.pop()

print sql_statement['sql']

Comments

Popular posts from this blog

Como configurar el control de directv para que funcione con el Tv

Could not activate celullar data network - Iphone - Movistar

Show all values in Numpy array