aboutsummaryrefslogtreecommitdiffstats
path: root/python/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/config.py')
-rw-r--r--python/config.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/python/config.py b/python/config.py
new file mode 100644
index 00000000..a7ec4b50
--- /dev/null
+++ b/python/config.py
@@ -0,0 +1,13 @@
+
+import os
+basedir = os.path.abspath(os.path.dirname(__file__))
+
+class Config(object):
+ SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URI') or \
+ 'sqlite:///' + os.path.join(basedir, 'fatcat_dev.sqlite')
+ SQLALCHEMY_TRACK_MODIFICATIONS = False
+
+ # "Event more verbose" debug options. SECRET_KEY is bogus.
+ #SQLALCHEMY_ECHO = True
+ #SECRET_KEY = "kuhy0284hflskjhg01284"
+ #DEBUG = True