DEV Community

Play Button Pause Button

How to spot and fix Django ORM anti-patterns

appmapruby profile image AppMap Ruby ・1 min read

A demonstration of how to optimize Django ORM by seeing how it makes SQL queries under the hood.

I use the open source AppMap extension for Visual Studio Code to record the code and SQL execution of an application test case, and then display that information as a graphical execution trace.

The graphical display of code and SQL shows how the ORM works behind the scenes.

Discussion (0)

Editor guide