[Showcase] Shows queries, find slow queries, detects N+1 in Django

I would like to share with you an open-source project that I was working for the last several days.
The goal of the project is to visually discover N+1 queries. ( Additional ways to prevent it )

Some reasons you might want to use django-query-capture:

  • It supports Django Middleware, Context Manager, and Decorator.
  • It can be used to simply check queries in a specific block. ( Useful in Shell or Jupyter notebook )
    • When you use Context Manager, you can get real-time query data.
  • You can see where the query occurs.
  • Inefficient queries can be found in the test code.
  • It is easy to customize by simply changing the table shape, changing the color, and selecting and setting the desired output.
  • It supports customization that allows you to decorate the output freely from the beginning.
  • Fully Documented
  • It supports Type hint everywhere.


Interest and feedback are really helpful to me.
Thank you for reading until the end! Have a great day today!