Alex Gaynor 12/1/2008

Fixing up our identity mapper

Read Original

This article details improvements to a Django identity mapper, focusing on caching query results to prevent extra database calls. It covers modifying the queryset iteration, explains why Django's built-in cache backends are unsuitable, and demonstrates how to optimize related object queries by customizing the manager and queryset get() method.

Fixing up our identity mapper

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week