How to copy database in use to other database in django?

I am trying to do the same exact thing right now, but I am running into a problem with resolving dependencies basically the same as ticket 16317 But enough about me Troubleshooting this led me to find a link for django-smuggler which allows you to create dumps and load data from the admin interface It looks promising for any data transfer needed or to use as a backup utility.

I am trying to do the same exact thing right now, but I am running into a problem with resolving dependencies basically the same as ticket 16317. But enough about me... Troubleshooting this led me to find a link for django-smuggler which allows you to create dumps and load data from the admin interface. It looks promising for any data transfer needed or to use as a backup utility.

First, execute manage. Py dumpdata > out. Json then change your DB config, syncdb and finally echo "delete from django_contenttype;" | manage.Py dbshell manage.

Py loaddata out.json.

When you dump your data, you can simply delete the tables you have, update the schema, run syncdb (tables will be recreated) and the load data again (remember if you deleted some columns from schema, you need to delete it from json file too). You can see the tables and queries needed to reset the app, when you ran "manage.Py sqlreset appname". And also, --indent=4 will help with the dumpdata command ;) – Neoman Aug 10 at 6:38 btw - stackoverflow.

Com/questions/5739880/… could be helpful.. – Neoman Aug 10 at 6:41 The ContentType table is populated by the syncdb, still the same data esists is the out.json. Edited to cleanup the table before loaddata. – saverio Aug 10 at 7:04.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions