summaryrefslogtreecommitdiff
path: root/config.py
blob: 14f926cf02f184d8a8338b8a1301de44e4238a5a (plain)
1
2
3
4
5
6
7
8
9
10
import os

basedir = os.path.abspath(os.path.dirname(__file__))

class Config(object):
    SECRET_KEY = os.environ.get('SECRET_KEY') or 'iamgroooooooot'
    TEMPLATES_AUTO_RELOAD = True
    SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
            'sqlite:///' + os.path.join(basedir, 'app.sqlite')
    SQLALCHEMY_TRACK_MODIFICATIONS = False