How to find resource intensive queries in Django
How to find the execu开发者_运维百科tion time for various Model API Calls in Django.
Use the Django debug toolbar.
You can use django-logging it is very helpful and will show your queries with time execution.
精彩评论