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.accounts',
|
||||||
'hc.api',
|
'hc.api',
|
||||||
'hc.front',
|
'hc.front'
|
||||||
'hc.payments'
|
|
||||||
)
|
)
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = (
|
MIDDLEWARE_CLASSES = (
|
||||||
@ -128,7 +127,7 @@ COMPRESS_OFFLINE = True
|
|||||||
|
|
||||||
EMAIL_BACKEND = "djmail.backends.default.EmailBackend"
|
EMAIL_BACKEND = "djmail.backends.default.EmailBackend"
|
||||||
|
|
||||||
try:
|
if os.path.exists(os.path.join(BASE_DIR, "hc/local_settings.py")):
|
||||||
from .local_settings import *
|
from .local_settings import *
|
||||||
except ImportError as e:
|
else:
|
||||||
warnings.warn("local_settings.py not found, using defaults")
|
warnings.warn("local_settings.py not found, using defaults")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user