South is amazing

[img_assist|nid=369|title=|desc=|link=none|align=right|width=210|height=70]
I just started using South and it is awesome. I tried django-evolution and dmigrations before but they just didn't cut it. I'm just working on a project by myself but I have it running on a slicehost server and I do development on my desktop computer or laptop computer and South has made doing data and schema migrations so much easier. I love being able to create migrations on my dev box and then try them out, make sure they worked, check-in the changed code and the migration files, sync the server's code and run ./manage.py migrate and I'm done. I used to do manual SQL operations on both databases, or just overwrite the older with the newer (if possible). I just did two quick model changes (first was adding a new field that I wanted to seed with the data from another field, and the other was just adding a new blank=True CharField) and I felt like it was an order of magnitude faster than before.

Tags: 

Comments

Just as a note, I don't think you have to migrate anything if you just change a CharField to blank=True as it doesn't affect the underlying schema. Only null=True/False is important.

But I was creating a new CharField with blank=True, not just changing a field to blank=True.

Add new comment