aboutsummaryrefslogtreecommitdiff
path: root/wqflask/cfg
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/cfg')
-rw-r--r--wqflask/cfg/__init__.py0
-rw-r--r--wqflask/cfg/default_settings.py5
-rw-r--r--wqflask/cfg/zach_settings.py5
3 files changed, 10 insertions, 0 deletions
diff --git a/wqflask/cfg/__init__.py b/wqflask/cfg/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/wqflask/cfg/__init__.py
diff --git a/wqflask/cfg/default_settings.py b/wqflask/cfg/default_settings.py
new file mode 100644
index 00000000..1811ccfd
--- /dev/null
+++ b/wqflask/cfg/default_settings.py
@@ -0,0 +1,5 @@
+LOGFILE = """/tmp/flask_gn_log"""
+
+#This is needed because Flask turns key errors into a
+#400 bad request response with no exception/log
+TRAP_BAD_REQUEST_ERRORS = True
diff --git a/wqflask/cfg/zach_settings.py b/wqflask/cfg/zach_settings.py
new file mode 100644
index 00000000..8d3bf4ab
--- /dev/null
+++ b/wqflask/cfg/zach_settings.py
@@ -0,0 +1,5 @@
+LOGFILE = """/tmp/flask_gn_log"""
+
+TRAP_BAD_REQUEST_ERRORS = True
+
+DB_URI = """mysql://webqtl:webqtl@localhost/db_webqtl_zas1024""" \ No newline at end of file