Skip to content

Commit 4623e6f

Browse files
author
Daniel Kusy
committed
Update settings
1 parent 80c7753 commit 4623e6f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

core/settings.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
# ENVIRONMENT VARIABLES
99
DEBUG = os.getenv("DEBUG", False) == "true"
10-
SECRET_KEY = os.getenv("SECRET_KEY")
11-
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS")
12-
DB_NAME = os.getenv("DB_NAME")
13-
DB_USER = os.getenv("DB_USER")
14-
DB_PASSWORD = os.getenv("DB_PASSWORD")
15-
DB_HOST = os.getenv("DB_HOST")
16-
DB_PORT = os.getenv("DB_PORT")
17-
MAILING_URL = os.getenv('MAILING_URL')
18-
CORS_ALLOWED_ORIGINS = os.getenv("CORS_ALLOWED_ORIGINS")
10+
SECRET_KEY = os.getenv("SECRET_KEY", "")
11+
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", "")
12+
DB_NAME = os.getenv("DB_NAME", "")
13+
DB_USER = os.getenv("DB_USER", "")
14+
DB_PASSWORD = os.getenv("DB_PASSWORD", "")
15+
DB_HOST = os.getenv("DB_HOST", "")
16+
DB_PORT = os.getenv("DB_PORT", "")
17+
MAILING_URL = os.getenv('MAILING_URL', "")
18+
CORS_ALLOWED_ORIGINS = os.getenv("CORS_ALLOWED_ORIGINS", "")
1919

2020
if ALLOWED_HOSTS:
2121
ALLOWED_HOSTS = ALLOWED_HOSTS.split(",")

0 commit comments

Comments
 (0)