settings: support an external settings file

Fixes #8
This commit is contained in:
Ben Boeckel 2018-10-29 18:25:35 -04:00
parent f1bfaf0242
commit 872af56e2c

View File

@ -136,3 +136,9 @@ JOURNAL_API_PERMISSIONS = (
# Cors # Cors
CORS_ORIGIN_ALLOW_ALL = True CORS_ORIGIN_ALLOW_ALL = True
# Make an `etesync_site_settings` module available to override settings.
try:
from etesync_site_settings import *
except ImportError:
pass