Updated dev and prod to use static secret keys across dev environments

This commit is contained in:
Ceferino Patino 2022-09-12 15:39:38 -05:00
commit 9037540988
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent.parent
# SECURITY WARNING: keep the secret key used in production secret!
DOTENV_FILE = BASE_DIR / '.env'
CONFIG = dotenv_values(DOTENV_FILE)
SECRET_KEY = CONFIG.get('SECRET_KEY')
SECRET_KEY = "*9r50c74r58p#*tnfpadsw*cp&$(^sj585w1u@!y9*eowmwl1*"
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

View file

@ -12,7 +12,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent.parent
# SECURITY WARNING: keep the secret key used in production secret!
DOTENV_FILE = BASE_DIR / '.env'
CONFIG = dotenv_values(DOTENV_FILE)
SECRET_KEY = CONFIG.get('SECRET_KEY')
SECRET_KEY = "ut20oy+5(!p)lqg8p+986ua3f0b*h=q0o2*swea^pv74*#&w5z"
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True