Re: Migrating from sqllite3 to postgres

2015-05-25 Thread Luis Zárate
Mmm probably you are looking for export /import data in django. For export : python manage.py dumpdata --format=json myapp > data.json For import: python manage.py loaddata data.json See https://docs.djangoproject.com/en/1.8/ref/django-admin/#loaddata-fixture-fixture El lunes, 25 de mayo de

Re: Migrating from sqllite3 to postgres

2015-05-25 Thread Peter of the Norse
> On May 21, 2015, at 11:24 PM, jaspinder singh > wrote: > > I have developed an app using sqllite. But my Heroku doesn't support sqllite > and the data keeps leaking every 24 hours. Can someone list the steps how to > change from sqllite3 to postgres > >From

Re: Migrating from sqllite3 to postgres

2015-05-23 Thread Babatunde Akinyanmi
Or Create a new postgres database, transfer the data to it, verify its correctness then change your settings file to point to the postgres database. On 22 May 2015 09:59, "Gergely Polonkai" wrote: > I will also have to do this in the near future (same reason), and already >

Re: Migrating from sqllite3 to postgres

2015-05-22 Thread Gergely Polonkai
I will also have to do this in the near future (same reason), and already have some untested ideas. My guess is to add a second database in settings.DATABASES, fetch all the model instances from my original db and save them in the other. But if anyone has a better solution, let us know! On 22 May

Migrating from sqllite3 to postgres

2015-05-22 Thread jaspinder singh
I have developed an app using sqllite. But my Heroku doesn't support sqllite and the data keeps leaking every 24 hours. Can someone list the steps how to change from sqllite3 to postgres -- You received this message because you are subscribed to the Google Groups "Django users" group. To