django - Heroku keeps deleting online added data -


i deployed django project on heroku.

for media storage, used aws s3 storage.

the project has admin interface, can add data.

the problem that, after time, data added online on heroku lost.

only original data (that in database before deploying on heroku ) conserved.

i'm using heroku test, still bothering.

is there's way overcome behaviour?

i though storing data in aws s3 don't know how it.

if using local .sqlite3 store data, indeed reset every time. suggest make use of heroku postgres, , migrate data heroku postgresql server. way won't lose data anymore.

or use other sql server like, long configure database settings inside settings.py should fine, while using local db, give problems in production , deployment.

hope helps!


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -