
How to find and fix N+1 queries in Django
N+1 queries are one of those Django performance problems that can hide in plain sight. A page might look fine with five rows in development and then suddenly make hundreds of database queries in production. In this tutorial, I'll build a deliberately slow page, inspect …
Read article









