1👍
✅
Here’s how to display the queries:
from django.db import connection
print connection.queries
For more info see this faq entry.
- [Answered ]-{{ request.META.HTTP_HOST }} not supported in Djagno 1.6.4? Easy way to get the host URL?
- [Answered ]-How to simulate HTTP error 500 in django?
Source:stackexchange.com