Posts tagged with "orm"
There are a total of 14 posts.
The Evolution of Model Choice Definitions: An Overview of the TextChoices Class
Published Apr 15, 2025 by whitedec
This post compares the traditional method of defining choices in Django models with the `TextChoices` class, highlighting ways to enhance code maintainability …
#django , #orm , #textchoices
What is 'Lazy Evaluation' in Django?
Published Feb 01, 2025 by whitedec
Understand the concept of Lazy Evaluation in Django and learn about performance optimization by comparing it with Eager Evaluation of QuerySet.
#django , #orm , #queryset , #lazy-evaluation , #eager-evaluation
Comparison of Django QuerySet’s `.only()` vs `.values()` – Differences and Usage
Published Feb 01, 2025 by whitedec
Compare the differences and usage of Django QuerySet's .only() and .values() methods. Learn about their advantages and when to use each option for performance …
#django , #orm , #values() , #queryset_method , #only()