# coding=utf-8
DEBUG = True

import os
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
user = 'root'
password = ''


LOCAL_DATABASE_URL = 'mysql+pymysql://'+user+':'+password+'@localhost:3306/rise_scada'

SQLALCHEMY_DATABASE_URI = os.environ.get("DATABASE_URL", LOCAL_DATABASE_URL)

DATABASE_CONNECT_OPTIONS = {}

SQLALCHEMY_TRACK_MODIFICATIONS = False

THREADS_PER_PAGE = 2

CSRF_ENABLED     = True

CSRF_SESSION_KEY = "secret"

SECRET_KEY = "secret"