1
0
mirror of https://github.com/etesync/server synced 2024-11-15 21:38:57 +00:00

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_ORIGIN_ALLOW_ALL = True
# Make an `etesync_site_settings` module available to override settings.
try:
from etesync_site_settings import *
except ImportError:
pass