forked from GithubBackups/healthchecks
braintree requirement is optional
This commit is contained in:
parent
20edec4c94
commit
81116431dd
@ -36,8 +36,7 @@ INSTALLED_APPS = (
|
||||
|
||||
'hc.accounts',
|
||||
'hc.api',
|
||||
'hc.front',
|
||||
'hc.payments'
|
||||
'hc.front'
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
@ -128,7 +127,7 @@ COMPRESS_OFFLINE = True
|
||||
|
||||
EMAIL_BACKEND = "djmail.backends.default.EmailBackend"
|
||||
|
||||
try:
|
||||
if os.path.exists(os.path.join(BASE_DIR, "hc/local_settings.py")):
|
||||
from .local_settings import *
|
||||
except ImportError as e:
|
||||
else:
|
||||
warnings.warn("local_settings.py not found, using defaults")
|
||||
|
Loading…
x
Reference in New Issue
Block a user