python manage.py dumpdata > datadump.json
- Delete the first line: "import signals..."
- Search for and remove any "link counter" entities.
For MySQL, ensure you can connect successfully (permissions, etc.).
python manage.py migrate
python manage.py shell
from django.contrib.contenttypes.models import ContentType
ContentType.objects.all().delete()
quit()
python manage.py loaddata datadump.json