First time here? Check out the FAQ!

Revision history  [back]

one way to do it (not 100% reliable) is to do the following:

With sqlite as a database:

python manage.py dumpdata > mydata.json

Change to postgres in settings.py, run sycdb and migrate commands and then:

python manage.py loaddata < mydata.json