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