membersystem/project/settings/__init__.py

15 lines
308 B
Python
Raw Permalink Normal View History

2018-06-23 13:31:24 +00:00
import warnings
from .base import * # noqa
2018-06-23 13:31:24 +00:00
try:
from .local import * # noqa
2018-06-23 13:31:24 +00:00
except ImportError:
warnings.warn(
"No settings.local, using a default SECRET_KEY 'hest'. You should "
"write a custom local.py with this setting."
)
2018-06-23 13:31:24 +00:00
SECRET_KEY = "hest"
DEBUG = True
pass