We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bebb03 commit 47a88c7Copy full SHA for 47a88c7
apidemo/apidemo/settings.py
@@ -9,7 +9,7 @@
9
For the full list of settings and their values, see
10
https://docs.djangoproject.com/en/4.2/ref/settings/
11
"""
12
-
+import os
13
from pathlib import Path
14
15
# Build paths inside the project like this: BASE_DIR / 'subdir'.
@@ -20,7 +20,7 @@
20
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/
21
22
# SECURITY WARNING: keep the secret key used in production secret!
23
-SECRET_KEY = 'django-insecure-yi=ydd84e)vvpn9rp+(@fu#m5si(ukcvts2(@2jl^$^1l5tjqa'
+SECRET_KEY = os.getenv("DJANGO_SECRET", None)
24
25
# SECURITY WARNING: don't run with debug turned on in production!
26
DEBUG = True
0 commit comments