X-Git-Url: http://git.datanom.net/pwp.git/blobdiff_plain/e5424f290a1b4f0f9b200e720d19091b63ed3eb2..HEAD:/config.py diff --git a/config.py b/config.py index 0f573ff..1e35193 100644 --- 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)