Using the excellent Django-Devserver I\'m finding all kinds of interesting and unexpected SQL calls in my code. I wanted to find where the calls are coming from, and so I\'m
Use django extensions.
pip install django-extensions ./manage.py shell_plus --print-sql
For production environments it might not work due to debug settings.