Re: How do I move my development data tables to production server?

2018-04-23 Thread Mike Dewhirst
On 24/04/2018 8:57 AM, Anthony Flury wrote: You can use manage.py dumpdata and manage.py loaddata And you can do this per app - or even per table. Thank you Anthony I had totally forgotten that. In fact I actually script dumpdata for dumping test data (ie fixtures) but loaddata never worked

Re: How do I move my development data tables to production server?

2018-04-23 Thread Mike Dewhirst
On 24/04/2018 5:50 AM, Tom Tanner wrote: Hey all, I have a bunch of tables on my local Django project. I set up the project on my production server and ran `manage.py migrate`. That set up the tables, but now I want to move the rows from my local tables to the ones on the production server. Bot

How do I move my development data tables to production server?

2018-04-23 Thread Tom Tanner
Hey all, I have a bunch of tables on my local Django project. I set up the project on my production server and ran `manage.py migrate`. That set up the tables, but now I want to move the rows from my local tables to the ones on the production server. Both local and production server use Postgre