ZEYD
How to import RAILWAY_VOLUME_MOUNT_PATH in ENV
Hi, I already read the documentation but whenever I try using the RAILWAY_VOLUME_MOUNT_PATH in my ENV like this it will not work:
USER_DATA=RAILWAY_VOLUME_MOUNT_PATH
USER_DATA will only contain the string. It's a Django project I am working on. How can I solve it? My settings file looks like this:
MEDIA_URL = "media/"
MEDIA_ROOT = os.environ.get("USER_DATA")
90 replies
Interactions blocked while function running in Django
Hi, I have the issue, that if one user is logged in into my deployed Django project and is doing something, another user at the same time can't do anything because the server will block it. Also, if user 1 is running a task, the same user can't leave the page or click anything else. I am using Django and Gunicorn. Can someone help me? What am I missing? In my local development enviroment everything is fine.
8 replies