python - Sync django with south -


have installed south old django project.

have run.

¤ syncdb

¤ convert_to_south myappname

but did not sync all.

runned:

¤ migrate myappname

did not sync 100 %, still have 1 column not found.

runned:

¤ schemamigration -auto myappname

but not synced 100 %....

any ideas?

suppose, old project's models definition consistent database. , want edit model(s) in app named 'myappname'. algorithm following:

  1. before making changes model, do:

    python manage.py convert_to_south myappname

  2. modify model(s) in app 'myappname'.

  3. create migrations:

    python manage.py schemamigration myappname --auto

  4. apply migrations:

    python manage.py migrate myappname


Comments