One of Django's main benefits is the built-in models and object-relational mapper (ORM). It provides a quick to use, common interface for data operations for your models and can handle most queries pretty easily. It can also do some tricky SQL once you understand the syntax. Django’s database layer provides various ways to help developers get the most out of their databases.
Get early access and exclusive content:
https://www.patreon.com/angrydeveloper
Apple Podcasts - https://link.chtbl.com/Apple_Podcasts
Spotify - https://link.chtbl.com/8_-EyCh1
Google Podcasts - https://link.chtbl.com/kQr7HKma
Castbox - https://link.chtbl.com/rVlRcBZN
https://docs.djangoproject.com/en/3.0/ref/models/querysets/#django.db.models.query.QuerySet.prefetch_related https://concisecoder.io/2018/11/04/django-orm-optimization-tips/ https://medium.com/@hansonkd/performance-problems-in-the-django-orm-1f62b3d04785