[Answered ]-Django south cannot import required field

2👍

✅

Are you still having this issue? I just ran into this and figured out the solution.

First open up your latest myapp/migration/0001_blah_blah_blah.py migration for for your app.

Then find the go to the models dict or just ctrl+f django.contrib.localflavor.us.models.USStateField and replace it with localflavor.us.models.USStateField.

After that you should be able to run ./manage.py schemamigration myapp --auto successfully and then apply the migration.

Hope this helps and it’s not too late!

Cheers.

Leave a comment