How to profile Python/Django applications

Using the django-profiler module available at

from profiling import profile

and later:

def view_to_be_profiled(self, request):

There’s a couple of settings that it’s possible to enable to view SQL queries and tweak the logger name:


Just a reminder for myself. Nothing more.

< class="related_post_title">Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *