South migrations with MPTT

rosemanblog About Technical /#banner South migrations with MPTT Tweet Tue 08 December 2009 By Daniel Roseman In Technical . tags: django south mptt /.post-info We've been using django-MPTT at work for quite a while. It's a great way to manage hierarchical data in a read-efficient way, and we use it heavily in our CMS application. I'll definitely be talking about it further in future posts. Recently we moved our database migrations from our defunct dmigrations project to Andrew Godwin's wonderful South application. One of South's best features is the ability to 'freeze' the ORM within each migration, so that you can manipulate the db via the familiar Django syntax rather than having to deal with raw SQL. However, we ran into a problem when trying to use this to add new instances to a model that uses MPTT. We're actually using Ben Frishman's fork of django-mptt, ...

Linked on 2014-04-24 17:52:19 | Similar Links