Trying to set up the disk for my web app

hello i am having trouble with images staying after i lode them in through the admin page on my Django app. after talking to a support team i was told a disk is needed. i have tried for hours to find anything to tell me how to find the mounting path and have got nothing dose anyone know how to fix this? also not sure what to change in my code so the images are saved on the disk.

thanks.

Hi there,

Have you read our docs on setting up a persistent disk? https://render.com/docs/disks. That will be the best guide in getting a disk configured and mounted.

On the Django side, you will need to make sure it is configured to serve static files from the disk, which can be done by following this guide:
https://render.com/docs/deploy-django#static-files.

Let us know if you have any further questions.

Regards,
Mike


Render Support Engineer, MT (UTC-7)

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