Update SECRET_KEY to use environment variable
This commit is contained in:
parent
c7efd64b96
commit
1cf914ec52
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
|||
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = 'django-insecure-n7m7=+yhd315*v%bys-i!!8y69d7bdc@bzie4=mr^pcs!(-im1'
|
||||
SECRET_KEY = str(os.getenv('SECRET_KEY'))
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
|
Loading…
Reference in a new issue