Hi Kent, The documentation is not yet complete, hence your confusion. There is indeed provision for data migrations in the new system, with an operation called RunPython - I'll see if I can get documentation up for it this week.
Andrew On Mon, Feb 10, 2014 at 7:14 PM, Kent Engström <[email protected]> wrote: > I just had a look at the Django 1.7 migrations docs at > https://docs.djangoproject.com/en/dev/topics/migrations/ > > In South, I've learned to use schema migrations and data migrations > together, for situations like when you need to combine two fields, or > split them (schema migration to add new fields, data migration to copy > data, schema migration to remove old fields). > > Is the new built-in system supposed to handle data migrations too? Is so, > how? I did not find a documented place to put arbitrary Python code in > the new declarative format. > > If not: how is that need handled in the future? Migrate to point X, run > a script, continue to migrate? > > Should this be mentioned somewhere in the docs? > > > Sorry if I'm confused about this, > / Kent Engström, Lysator > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/m3d2iupyp7.fsf%40lysator.liu.se > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAFwN1ur_2KG2r44avkzznAzeyoEisS56RHp%3DGJHR8fiEZ6edUw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
