I've seen a couple of articles that have suggested both "don't use the orm" and "load fixtures using loaddata in your datamigration". These things contradict each other. loaddata uses your models, which will be potentially out of date. We have had to manually load up the fixture using json.loads, then create the model instances using orm.Foo and setattr.
Also, not a great solution, but we monkeypatched south to simply use the number in the file name, ie 0001.py. This way if two developers try to commit a migration, they cause a conflict, and we can fix it then instead of finding out later. It makes the filename less friendly, but we usually use grep/ack to find a migration anyways.
Also, not a great solution, but we monkeypatched south to simply use the number in the file name, ie 0001.py. This way if two developers try to commit a migration, they cause a conflict, and we can fix it then instead of finding out later. It makes the filename less friendly, but we usually use grep/ack to find a migration anyways.