On 10/1/14 11:36 PM, Andrew Pinkham wrote:
Excellent 2nd article. Thanks!
I especially liked the clear explanation of how South migrations
interact badly with initial_data fixtures. OK to use fixtures, but
load them explicitly via "loaddata" from data migrations. Don't
put them in "initial_data" fixtures.
Also, good explanations of:
- South in general
- The reason why there's a models dictionary (the "frozen model")
in each migration file, and why to use orm.ModelName
- Differences from Django 1.7 migrations
- How to get started with Django 1.7 migrations
- Unicode vs ASCII issues
- Use of objects.bulk_create()
Thanks!
Andrew,Any feedback appreciated. I hope you find the material helpful.
Excellent 2nd article. Thanks!
I especially liked the clear explanation of how South migrations
interact badly with initial_data fixtures. OK to use fixtures, but
load them explicitly via "loaddata" from data migrations. Don't
put them in "initial_data" fixtures.
Also, good explanations of:
- South in general
- The reason why there's a models dictionary (the "frozen model")
in each migration file, and why to use orm.ModelName
- Differences from Django 1.7 migrations
- How to get started with Django 1.7 migrations
- Unicode vs ASCII issues
- Use of objects.bulk_create()
Thanks!
--Fred
Fred Stluka -- mailto:fred@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
Fred Stluka -- mailto:fred@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
No comments:
Post a Comment