3 ms·
I recently started doing professional Django training. Migrations haven't come up in training sessions yet but I'm not sure what I would recommend. I feel South
by tocomment 14y ago
I recently started doing professional Django training. Migrations haven't come up in training sessions yet but I'm not sure what I would recommend. I feel South might be too intimidating to thiose just learning Django. Are there any alternatives?
- emidln 14y agoI've heard good things about nashvegas[0]. It's a bit more manual of a tool, but maybe less surprising to new users. [0] - http://nashvegas.readthedocs.org/en/latest/ http://nashvegas.readthedocs.org/en/latest/
- tocomment 14y agoI was thinking to write up a blog post showing how I handle migrations manually. Which has worked really well for me and is dead simple. I guess the catch is the user would have to know some SQL.
- famousactress 14y agoWhen I first started doing Django, I found South intimidating. I think it's mostly just some vocabulary and concepts that end up feeling more complicated than they have to be (I remember the orm freezing being totally confusing, and things like my team members always 'faking' migrations baffling me). That said, I think introduced properly/carefully South is the easiest way to do migrations by a landslide. If anything, I'd expect people to eventually grow out of it, not into it.. And not most people either. I think a number of the commenters talking about hitting bumps in the road once they got to (gasp!) dozens of models or migrations, probably bailed prematurely. Our project is 300+ models, and well over 500 migrations now and South still suits us pretty nicely. If you'd like any help reviewing tutorial materials, I'd be happy to lend a hand. I haven't looked lately, but I'd love to see a better intro blog post for South show up. A couple years ago when I was learning I found what's out there just a little bit obtuse (not to knock Andrew's very solid tutorial at all, I just could have used something even more stripped down and careful about introducing concepts to get started).
- njharman 14y agoI would recommend South. I have found it has very nice/shallow "curve". In that if you are doing simple stuff, South is simple. Don't even have to look at generated migrations, just use management commends. As you need more complex things, you can learn more details about South.