Django Query Inspector is a middleware that logs or displays SQL queries executed during a request, including duplicate queries and query counts. Current version 1.1.0, last updated in 2019. No active development, stable for Django 2.x and earlier.
pip install django-queryinspectVerified import paths — ran on the pinned version, not inferred.
Add the middleware to your Django settings. Visit any page and check the console or Django server output for SQL query logs.
Set DEBUG=True in your settings or use a different tool for production profiling.
Consider using django-debug-toolbar or django-silk for active development and support.
Ensure your database backend populates connection.queries (default Django backends do).
No dependency data recorded yet.