"Did you ever need to display the SQL that Django is generating, within your shell? I was playing around with a problem, which I’ll write more about later, and I needed this exact functionality to help me learn how various options in the Django ORM were being translated into SQL..."
Full story »