File tree Expand file tree Collapse file tree 1 file changed +7
-30
lines changed
Expand file tree Collapse file tree 1 file changed +7
-30
lines changed Original file line number Diff line number Diff line change 2222# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/
2323
2424# SECURITY WARNING: keep the secret key used in production secret!
25- SECRET_KEY = "ASDF "
25+ SECRET_KEY = "redacted "
2626
2727# SECURITY WARNING: don't run with debug turned on in production!
2828DEBUG = True
3232
3333MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware' ]
3434
35- """
36- # log all SQL queries to console
37- LOGGING = {
38- 'version': 1,
39- 'filters': {
40- 'require_debug_true': {
41- '()': 'django.utils.log.RequireDebugTrue',
42- }
43- },
44- 'handlers': {
45- 'console': {
46- 'level': 'DEBUG',
47- 'filters': ['require_debug_true'],
48- 'class': 'logging.StreamHandler',
49- }
50- },
51- 'loggers': {
52- 'django.db.backends': {
53- 'level': 'DEBUG',
54- 'handlers': ['console'],
55- }
56- }
57- }
58- """
59-
60-
61-
6235# Database
6336# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
6437
6740 'ENGINE' : 'django.db.backends.postgresql_psycopg2' ,
6841 'NAME' : 'battlecode' ,
6942 'USER' : 'battlecode' ,
70- 'PASSWORD' : os . getenv ( 'DB_PASS_BC_DEV' , 'mysecretpassword' ) ,
71- 'HOST' : os . getenv ( 'DB_HOST_BC_DEV' , 'localhost' ) ,
43+ 'PASSWORD' : 'redacted' ,
44+ 'HOST' : 'redacted' ,
7245 'PORT' : 5432 ,
7346 }
7447}
48+
49+ GOOGLE_APPLICATION_CREDENTIALS = r"""redacted"""
50+
51+ SENDGRID_API_KEY = "redacted"
You can’t perform that action at this time.
0 commit comments