]> git.datanom.net - pwp.git/blame - config.py
Half way through migration away from sqlalchemy
[pwp.git] / config.py
CommitLineData
fc01a3eb 1import os, sys
e5424f29 2basedir = os.path.abspath(os.path.dirname(__file__))
fc01a3eb
MR
3sys.path.append('..')
4sys.path.append(basedir + '/app/DB')
5
6from db import DBDriver
7DB_DRIVER = DBDriver.PG
8DB_PASSWORD = 'test'
9DB_USER = 'pwp'
10DB_DATABASE = 'pwp'
11DB_HOST = 'localhost'
12DB_PORT = 5432
e5424f29
MR
13
14WTF_CSRF_ENABLED = True
15SECRET_KEY = os.urandom(32)
16# Session timeout in minuts
17SESSION_TIMEOUT = 120
18
19# mail server settings
20MAIL_SERVER = 'localhost'
21MAIL_PORT = 25
22MAIL_USERNAME = None
23MAIL_PASSWORD = None
24
25# administrator list
26ADMINS = ['mir@miras.org']
27
This page took 0.034434 seconds and 5 git commands to generate.