Django's ManyToMany Refactoring
A technical deep dive into refactoring Django's ManyToManyField to eliminate raw SQL and improve code structure for multi-database support.
A technical deep dive into refactoring Django's ManyToManyField to eliminate raw SQL and improve code structure for multi-database support.
A technical analysis of a bug in DbLinq's non-generic Execute method causing invalid cast exceptions, with details on the submitted patch.
A recap of a panel discussion on Object-Relational Mappers (ORMs) in Python, covering selection criteria and unanswered questions.
Announcing a Google Moderator page for submitting and voting on questions for a Python ORM panel at PyCon 2009.
Explores a performance-optimized approach to implementing inheritance and polymorphism in Django's ORM using a caching mixin.
Explains Django's F() object queries for comparing and updating database fields directly within the ORM.
A technical guide on creating a reusable Django manager class to share methods between managers and QuerySets, reducing code repetition.
A developer details optimizing a Django view to analyze chat log data, reducing execution time and database queries.
Author's talk proposal for a panel on ORM design philosophies at PyCon 2009 has been accepted, featuring notable Python developers.
Explains how to implement polymorphic behavior for Django model inheritance, allowing base class querysets to return subclass instances.
Technical analysis of optimizing an Identity Mapper in Django, focusing on query reduction and in-process caching strategies.
A technical guide on implementing an identity mapper with caching optimizations in Django to reduce database queries.
Django 1.1 introduces F() expressions for database queries, enabling field comparisons and arithmetic in filter() and update() methods.
A tutorial on implementing a basic identity map pattern in Django to optimize memory by ensuring duplicate database objects are represented by the same Python instance.
Explains the new aggregate and annotate query syntax for Django 1.1, detailing how to perform calculations like MAX, MIN, and COUNT on data.
Explains how to create an efficient timeline view in Django by merging multiple sorted querysets to minimize database queries.
Argues that perfectly uncoupled code is impossible, using Django's ORM and admin as examples of necessary coupling to specific APIs.
A developer highlights key upcoming features in Django 1.1, including ORM aggregation, model validation, and class-based generic views.
A technical deep dive into how Django models work internally, focusing on the ModelBase metaclass and the class creation process.
A technical guide on creating a generic LazyForeignKey field in Django to simplify foreign key relationships and add custom manager functionality.