I'M using django south on a bigger project, the only thing I don't like about it, that you can't create schemamigrations for all of your apps at once (I have a lot of apps that inherit from the same abstract model, if I change that base model there are alot of apps to migrate) - thought you can actually migrate all of them at once (using migrate --all).
So I'd like to know if theres an easy solution for django south to handle a bunch of apps at once or if anyone has a nice script ready for doing that?
First thing: separate applications should limit model interactions
now that it's said, let's embrace the constraint. No south cannot create a single migration file for many apps and I don't know how to generate many migrations for many app in a single manage.py command.
All that is left to you is a script now. You could use the amazing fabric http://docs.fabfile.org/ to have a single command to generate your migrations :
and then call it using fab migration
This is not quite an answer to your question, but might help out depending on exactly what you are trying to do.
You can define migrations as depending on migration(s) from other apps. For example:
This will ensure all required pre-requisite migrations have been run before yours.
An addition to the fabric answer above, add this to your fabfile.py:
Now run
fabric initmigration
. Can do similar thing for themigration
function above.