[Answered ]-Django south is changing my boolean data on init

1đź‘Ť

âś…

schemamigration and migrate --fake don’t modify the database. Do you have any initial_data fixture that could be reloaded when migrating? See https://docs.djangoproject.com/en/1.3/howto/initial-data/

Try to migrate with:

python manage.py migrate --no-initial-data

see south doc for more info about options

👤luc

1đź‘Ť

I don’t think that either an –initial or a –fake should alter the database at all, so I’m surprised that it would modify data. In terms of why you’re getting the “Not synced (use migrations)” error, I think it’s likely because you faked the initial migration.

Try un-migrating the –fake and re-applying the initial migration with

python manage.py migrate --fake zero
python manage.py migrate

Then, you should be able to do the dumptdata

👤Chase Seibert

Leave a comment