This pull request includes changes to the access_amherst_backend/settings.py file to enhance security and configuration management. The most important changes are:
Security improvements:
Replaced the hard-coded SECRET_KEY with a value loaded from environment variables using the dotenv library.
Configuration management:
Added the dotenv library to load environment variables from a .env file.
Set DEBUG to False to ensure the application does not run in debug mode in production.
This pull request includes changes to the
access_amherst_backend/settings.py
file to enhance security and configuration management. The most important changes are:Security improvements:
SECRET_KEY
with a value loaded from environment variables using thedotenv
library.Configuration management:
dotenv
library to load environment variables from a.env
file.DEBUG
toFalse
to ensure the application does not run in debug mode in production.