diff --git a/dnd_db_site/settings.py b/dnd_db_site/settings.py index 0f0f355..0f803a0 100644 --- a/dnd_db_site/settings.py +++ b/dnd_db_site/settings.py @@ -20,10 +20,11 @@ BASE_DIR = Path(__file__).resolve().parent.parent # See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'django-insecure-e8_mgg=!)2-#0v*nf-fwity(fhvqfu_ek1vvc1j6%q9g8%z51#' +import os +SECRET_KEY = os.environ['SECRET_KEY'] # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = []