I have an app that I recently deployed to Heroku. I wrote the app in Python utilizing the Django framework. When I create user accounts via my admin dashboard in the app I see the user accounts after being created. After a while has passed, I check and the new user accounts I created has disappeared. My thoughts are that this is down to allocated resources/dynos and everything is stored only for a session and once the session ends all changes are reverted to the state the app was in when first uploaded. The database is SQLite.
I am trying to determine how I can have new users stay in the database or how other apps hosted on the platform (Heroku) allow user registration without the user accounts disappearing after a session ends.
I have searched and read documentation on Heroku, Googled the problem and found nothing that matches my situation. One issue I read about mentioned an issue uploading static files that would disappear after sessions ended and how integrating 3rd party storage could resolve that. I understand that solution, but for user creation and registration, this would not be feasible.
Thanks in advance!
Ray Dillon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.