Background: After adding djangoratings to my project, I tried running
django-admin.py schemamigration djangoratings --initial
--settings=myapp.settings.loc
This is in an extension of @stef_huayue's answer if it does not quite work as expected.
Find out which migration failed. The coressponding migration_file.py will usually be where the migrations.AddField operation is happening. Then run:
python manage.py migrate app_name --fake [migration_file]
without the file extension. Followed by:
python manage.py migrate app_name