1. python manage.py dumpdata > database.json
  2. Modify the database configuration in settings.py [to postgresql]
  3. python manage.py syncdb
  4. python manage.py sqlflush
  5. python manage.py loaddata database.json

Problem?
Could not load contenttypes.ContentType(pk=NUMBER): duplicate key value violates unique constraint “django_content_type_app_label_1b82a12e_uniq

Use pgAdmin to connect to server,
Find ‘django_content_type‘, ‘right click‘ then ‘truncate‘, ‘truncate cascaded‘ and ‘reset table statictics‘.
then back to setp 5