0

I've been developing a Django project on my machine, and I'm ready to push it to the web. I set up the project on a remote server, then ran manage.py migrate to get the tables set up. But the server's tables are empty. I'd like to move the rows from my local database's tables to those on the remote server. In both cases, I use Postgres. Is there a Django way to do this? Or do I need to do this some other way?

0

Use the data migration or the post_migrate signal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.