summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.py b/config.py
index f27b5fc..8650ffd 100644
--- a/config.py
+++ b/config.py
@@ -1,7 +1,9 @@
import os
-
basedir = os.path.abspath(os.path.dirname(__file__))
+# Used for CSRF protection, keep secret
+SECRET_KEY = 'SUPERSEEKRIT'
+
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')