I am a newbie to DevOps and deployment. I have created a CMS in Django which has an image upload option. The application is already deployed on Heroku and it uses Postgres database. I then got to know that Heroku is an ephemeral filesystem and all my images uploaded will be lost. So I need to connect it with S3 for image storage.
Can anyone give the exact minimal code specifics? I have searched and tried many tutorials but none of it seem to work completely. This might be silly question but please help. I'm a newbie.