]>
Commit | Line | Data |
---|---|---|
fc01a3eb | 1 | import os, sys |
e5424f29 | 2 | basedir = os.path.abspath(os.path.dirname(__file__)) |
fc01a3eb MR |
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 | |
e5424f29 MR |
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 |