File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 20
20
SECRET_KEY = 'x1-pogt0-b5owbgq0=ui02-4v)bba!bg&1m8_$)8-&13(907qf'
21
21
22
22
# SECURITY WARNING: don't run with debug turned on in production!
23
- DEBUG = os .getenv ("DEBUG" , True )
23
+ DEBUG = os .getenv ("DEBUG" , False )
24
24
25
25
ALLOWED_HOSTS = ['*' ]
26
26
74
74
},
75
75
]
76
76
77
- # Database
78
- # https://docs.djangoproject.com/en/1.7/ref/settings/#databases
79
-
80
- DATABASES = {
81
- 'default' : {
82
- 'ENGINE' : 'django.db.backends.sqlite3' ,
83
- 'NAME' : os .path .join (BASE_DIR , 'db.sqlite3' ),
84
- }
85
- }
86
-
87
77
# Internationalization
88
78
# https://docs.djangoproject.com/en/1.7/topics/i18n/
89
79
112
102
STATICFILES_DIRS = (
113
103
os .path .join (BASE_DIR , 'main/' ),
114
104
)
105
+
106
+ try :
107
+ from local_settings import *
108
+ except ImportError :
109
+ pass
You can’t perform that action at this time.
0 commit comments