ProgerHub
4.86K subscribers
137 photos
2 videos
64 files
301 links
Ads & contact: @crazydev93

A channel with programming news and tips and tricks, nice for beginners but also for experienced programmers. 💻
Download Telegram
Django 6.1's tip Fetch Modes: #python #django #fetch_modes

Django 6.1 fixes N+1 without you rewriting your queries you never touch the for loop. You just tell the queryset how permissive it should be about surprise trips to the database — and FETCH_PEERS quietly turns "101 queries" into "2 queries" with zero extra code at the call site.

Docs
❤3