Building a Magic Manager
A technical guide on creating a reusable Django manager class to share methods between managers and QuerySets, reducing code repetition.
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.
A guide to automating website deployment using Fabric and Mercurial with BitBucket as an intermediate repository.
Django 1.1 introduces a new admin URL system using standard resolvers, allowing URL reversal and custom URL-providing objects.
A developer explains the reasons for open-sourcing his personal website built with Django, including community contribution and potential benefits.
A developer details rebuilding his personal website from scratch using Django and Python, explaining the technical motivations and migration process.
A tutorial on implementing a read-only form field in Django using a custom Field and Widget class, despite it being non-standard architecture.
A tutorial on creating custom function templatetags in Django's template system to define and call functions within templates.
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.
A developer reflects on a month of daily blogging, sharing traffic stats and popular posts about Python, Django, and web development.
A technical guide on implementing an identity mapper with caching optimizations in Django to reduce database queries.
Technical analysis of optimizing an Identity Mapper in Django, focusing on query reduction and in-process caching strategies.
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.
Django 1.1 introduces F() expressions for database queries, enabling field comparisons and arithmetic in filter() and update() methods.
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 tutorial on implementing and configuring the Django sitemap framework to generate XML sitemaps for a website.
Explores how Python's design, inspired by economic incentives, enforces best practices like readability and secure coding to benefit developers long-term.