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:
before making changes model, do:
python manage.py convert_to_south myappnamemodify model(s) in app 'myappname'.
create migrations:
python manage.py schemamigration myappname --autoapply migrations:
python manage.py migrate myappname
Comments
Post a Comment