I\'ve been doing development using SQLITE database with production in POSTGRESQL. I just updated my local database with a huge amount of data and need to transfer a specifi
Try these steps...
Step 01: Dump sqlite db to json
python3 manage.py dumpdata > data.json
Step 02: Create tables without migration
python3 manage.py migrate --run-syncdb
Step 03: Open django shell. Then exclude contentype data
python3 manage.py shell
from django.contrib.contenttypes.models import ContentType
ContentType.objects.all().delete()
quit()
Step 04: Load Data
python3 manage.py loaddata data.json