How to migrate Django models from mysql to sqlite (or between any two database systems)?

Posted by Daphna Shezaf on Stack Overflow See other posts from Stack Overflow or by Daphna Shezaf
Published on 2010-12-28T07:35:32Z Indexed on 2010/12/28 7:54 UTC
Read the original article Hit count: 153

I have a Django deployment in production that uses MySQL.

I would like to do further development with SQLite, so I would like to import my existing data to an SQLite database. I

There is a shell script here to convert a general MySQL dump to SQLite, but it didn't work for me (apparently the general problem isn't easy).

I figured doing this using the Django models must be much easier. How would you do this? Does anyone have any script to do this?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-models