Flask-sqlalchemy on render

Hi!
I hosted my application on render which is a flask app + SQLAlchemy, but when i upload it all of it’s contents are lost

I heard about disks but can’t choose them as this is a school project and i don’t wanna waste money on it.

Hi,

You’ve not been clear on the actual issue, it sounds like you’re saying the database contents are lost, which may be the if you’re using SQLite, which would require a Disk.

Or maybe you mean images when you say “upload”? These would also need to be persisted somewhere, a disk would work, or an external service like AWS S3, Cloudinary, etc.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.