Merges from the Crypt - or, how I learned to stop worrying and love SQL November 04, 2009 13:26 / 0 comments

Outlining how I merged two databases for django-powered sites using a combination of SQL, django-multidb, and pg_dump.


Describing Relationships: Django's ManyToMany Through November 03, 2009 09:34 / 0 comments

How to implement many-to-many relationships with extra fields, or, Many-to-Many Through. Covers django models and admin.


Merging Databases with PostgreSQL - Calculating Diffs October 27, 2009 11:09 / 0 comments

I am just beginning the process of merging two fairly large databases. This merge is complicated by the fact that there are a number of shared tables between the two databases. I've written a short python script to generate lists of tables for each dat