aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index 3b723f76..d3beebce 100644
--- a/conf.py
+++ b/conf.py
@@ -15,6 +15,27 @@ except:
config = confparser.SafeConfigParser()
config.read("./conf/conf.cfg")
+
+
+
+
+basedir = os.path.abspath(os.path.dirname(__file__))
+
+CSRF_ENABLED = True
+
+SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']
+
+# slow database query threshold (in seconds)
+DATABASE_QUERY_TIMEOUT = 0.5
+
+
+
+
+
+
+
+
+
PATH = os.path.abspath(".")
DATABASE_NAME = config.get('database', 'name')
bgstack15