File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ DB_PORT=5432
55DB_HOST=localhost
66DB_NAME_TEST=postgres_test
77DJANGO_SETTINGS_MODULE=config.settings_dev
8+ SECRET_KEY=django-insecure-6-72r#zx=sv6v@-4k@uf1gv32me@%yr*oqa*fu8&5l&a!ws)5#
Original file line number Diff line number Diff line change 2323# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
2424
2525# SECURITY WARNING: keep the secret key used in production secret!
26- SECRET_KEY = 'django-insecure-6-72r#zx=sv6v@-4k@uf1gv32me@%yr*oqa*fu8&5l&a!ws)5#'
26+ SECRET_KEY = env ( 'SECRET_KEY' , default = None )
2727
2828# SECURITY WARNING: don't run with debug turned on in production!
2929DEBUG = False
Original file line number Diff line number Diff line change 1111
1212from django .core .wsgi import get_wsgi_application
1313
14- os .environ .setdefault ('DJANGO_SETTINGS_MODULE' , 'app.settings ' )
14+ os .environ .setdefault ('DJANGO_SETTINGS_MODULE' , 'app.config.settings_prod ' )
1515
1616application = get_wsgi_application ()
You can’t perform that action at this time.
0 commit comments