Is there a way to count my queries during a manage.py shell session? It would be helpful as a means to inspect some of the ORM behavior between queries.
Additionally, it would be nice to pull the queries themselves, and I guess their execution times while I'm at it.
i.e.
>>>from myapp.models import User
>>>User.objects.filter(name='Bob')
>>>User.objects.filter(name='Bob')
>>>[wth is my query count]
>>>User.objects.all()
>>>[wth is my query count]
>>>User.objects.filter(name='Greg')
>>>[wth is my query count]