I have a django(postgreSQL) site in multple environments Local, staging, production
I've tried using the manage.py dumpdata > db.json script to export the db dump from staging, and load the json file to local site with manage.py loaddata db.json. It seems to work, however, the old blog posts that was in the local site still persist after I loaded the datadump.
- Should I empty my tables before loading in new data? What's the are the practices?
- Is there any django package out there that handles this nicely?