EditionPN/config.py

7 lines
323 B
Python
Raw Permalink Normal View History

2021-05-06 10:26:28 +02:00
import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config(object):
SECRET_KEY = os.environ.get("SECRET_KEY") or 'unStringRandomDuneLongueurRandom'
SQLALCHEMY_DATABASE_URI = os.environ.get("DATABASE_URL") or "sqlite:///" + os.path.join(basedir, "app.db")
SQLALCHEMY_TRACK_MODIFICATIONS = False