But, currently, this is the way you have to change fixtures. As an alternative,
you can either write a script to automate dumping out the data, or write a
migration that loads the fixture in a certainl place in the migration history,
so it's automatically loaded and upgraded on every new install.
Andrew
> --
>
> You received this message because you are subscribed to the Google Groups
> "South Users" group. To post to this group, send email to
> south...@googlegroups.com. To unsubscribe from this group, send email
> to south-users...@googlegroups.com. For more options, visit this
> group at http://groups.google.com/group/south-users?hl=en.
>
This is a lot less painful if you have the foresight to start with step
4 on a clean db immediately _before_ making the change to models.py in
the first place. Or if I've just made the models.py changes but haven't
committed yet (since I prefer to commit the migration along with the
models change), I use "hg shelve" to temporarily shelve the changes. In
any case, load the fixture before creating the migration, dump it
immediately after running it, and all is well.
Not that I won't be happy to see this workflow improved :-)
Carl
Unfortunately on svn Carl, so no shelve for this project, but as you
say a little foresight wouldn't hurt.
and I'll see if I can make this automatic loading and dumping work,
Andrew.
Mike Lin