0

I have a Django project on Heroku. It renders templates, but without any data(that I get from my local postgre database). How can I import data on Heroku database from my local db?

10
  • Have tried the methods mentioned in Heroku documentation? You can find it here: devcenter.heroku.com/articles/… Commented Dec 12, 2021 at 13:14
  • You can follow this answer as well: stackoverflow.com/a/20511058 Commented Dec 12, 2021 at 13:15
  • heroku pg:psql --app myappname < updates.sql doesn't work Commented Dec 12, 2021 at 13:18
  • Try this: heroku pg:psql DATABASE_URL Commented Dec 12, 2021 at 13:20
  • you mean heroku pg:psql --app myappname > heroku pg:psql DATABASE_URL ? Commented Dec 12, 2021 at 13:22

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.