django print query

Solutions on MaxInterview for django print query by the best coders in the world

showing results for - "django print query"
Claudia
21 Sep 2017
1print(MyModel.objects.filter(name="my name").query)
Giulia
05 Oct 2017
1from django.db import connection
2print(connection.queries)