I get this error message from Railway.app:
frank6282
PROOP

2 years ago

SECRETKEY = env("SECRETKEY")

File "/opt/venv/lib/python3.9/site-packages/environ/environ.py", line 199, in call

return self.get_value(

File "/opt/venv/lib/python3.9/site-packages/environ/environ.py", line 392, in get_value

raise ImproperlyConfigured(error_msg) from exc

django.core.exceptions.ImproperlyConfigured: Set the SECRET_KEY environment variable

I tried submitting the secret key in my .env file with or without quotes but I still get this error. The application works on my home computer.

2 Replies

brody
EMPLOYEE

2 years ago

have you set that service variable?


brody
EMPLOYEE

2 years ago

n/a


Loading...