Alex Gaynor 11/4/2009

Django's ManyToMany Refactoring

Read Original

This article details a refactoring of Django's ManyToManyField implementation, part of a Google Summer of Code project for multi-database ORM support. It explains how raw SQL and manual transaction handling were replaced by using Django's existing QuerySet machinery, including dynamic class generation for intermediary models, resulting in cleaner, more maintainable code.

Django's ManyToMany Refactoring

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