]> git.datanom.net - pwp.git/blobdiff - config.py
Half way through migration away from sqlalchemy
[pwp.git] / config.py
index 0f573ff095f5db321b73424b7d44f00fcda9a6f6..1e35193ac644845bd54485501998ee9ce2da4b0e 100644 (file)
--- a/config.py
+++ b/config.py
@@ -1,5 +1,15 @@
-import os
+import os, sys
 basedir = os.path.abspath(os.path.dirname(__file__))
+sys.path.append('..')
+sys.path.append(basedir + '/app/DB')
+
+from db import DBDriver
+DB_DRIVER = DBDriver.PG
+DB_PASSWORD = 'test'
+DB_USER = 'pwp'
+DB_DATABASE = 'pwp'
+DB_HOST = 'localhost'
+DB_PORT = 5432
 
 WTF_CSRF_ENABLED = True
 SECRET_KEY = os.urandom(32)
This page took 0.036431 seconds and 5 git commands to generate.