2👍
Probably something with migration order. You can try to remove django.contrib.sites
from the INSTALLED_APPS
and then syncdb. If that succeeds add django.contrib.sites
and migrate again.
Alternatively you can add 'sites': 'my_app.sites_migrations
to MIGRATION_MODULES
and then make migrations for this with python manage.py makemigrations sites
. Then running syncdb
might work as well.
Source:stackexchange.com