4 ms·
I'm currently working with Django for a client's project I'm developing. Coming off a LAMP stack binge, the technology itself has been an absolute delight. I've
by pvnick 13y ago
I'm currently working with Django for a client's project I'm developing. Coming off a LAMP stack binge, the technology itself has been an absolute delight. I've been given the directive to use South to manage the data model, but for future projects I was hoping somebody with more experience can give some insights as to what you've found works and what doesn't work. I'm not the biggest fan of South, but maybe it's just a lack of experience/patience.
- adamauckland 13y agoI would always use South, but you need to read the migrations and _understand_ what it's doing. When it gets a conflict (and it will), you need to be able to fix up the migrations.
- danielsamuels 13y agoUnfortunately that's the best we have right now. However, the guy who wrote South (and is a core Django developer) ran a Kickstarter last month to raise funds to write South-like functionality directly into the Django core.
- maspwr 13y agoHe (Andrew Godwin) also recently gave a talk on the subject, (http://lanyrd.com/2013/djangocon-europe/schgcz/ http://lanyrd.com/2013/djangocon-europe/schgcz/).
- zalew 13y agoany idea when his talk will be published (youtube/pyvideo)?
- rattray 13y agofor the curious: http://www.kickstarter.com/projects/andrewgodwin/schema-migrations-for-django http://www.kickstarter.com/projects/andrewgodwin/schema-migr... £17,952 pledged of £2,500 goal. So it looks like this should be happening. Stated intention as to when: > As the intention is to get something into Django core itself, the idea is to land this for either the 1.6 or 1.7 release of Django. The work itself should be mainly completed by July 2013, and ready for alpha testing and feedback at that point for those who want to try a development version of Django.
- lhc- 13y agoHe has been writing updates on his progress at http://www.aeracode.org/category/django-diaries/ http://www.aeracode.org/category/django-diaries/ as well, if you are curious.
- StavrosK 13y agoI saw the template support and was over the moon, so I made this: http://www.stavros.io/posts/django-template-projects/ http://www.stavros.io/posts/django-template-projects/ It should help people just getting started with Django to have a smoother transition. I will add various templates with "best practices", like South included by default, stuff like that, to help both me and complete newcomers to easily get started with a new project.
- eclipticplane 13y agoSouth is pretty great for very simplistic migrations. However, it does not issue DDL efficiently. For example, if you're adding two columns to a table, it will issue two separate ALTER TABLE statements. Depending on your database and table size, that can take twice as long as needed. It can really add up when your tables start hitting millions of records.