summaryrefslogtreecommitdiffstats
path: root/conf/__init__.py
blob: 744747f35bcce3a0bb974c1de12ba79336c409ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import os

IS_LOCAL = False

try:
    from .local import *
except ImportError:
    pass

DATABASE_URL = os.environ.get('DATABASE_URL')
SECRET_KEY = os.environ.get('SECRET_KEY')
ENABLE_AUTH = os.environ.get('ENABLE_AUTH', 'false') == 'true'