]>
Commit | Line | Data |
---|---|---|
db4f0ba9 MR |
1 | import os |
2 | basedir = os.path.abspath(os.path.dirname(__file__)) | |
3 | ||
4 | SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db') | |
5 | SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository') | |
6 | SQLALCHEMY_TRACK_MODIFICATIONS = True | |
7 | ||
8 | WTF_CSRF_ENABLED = True | |
9 | SECRET_KEY = '$4$Y0NTxwTG$Vg4OKd3lNTB7vpQa5dAJcCLbDkM$' | |
10 | ||
11 | OPENID_PROVIDERS = [ | |
12 | {'name': 'datanom', 'url': 'https://openid.datanom.net/<username>'}, | |
13 | {'name': 'Google', 'url': 'https://www.google.com/accounts/o8/id'}, | |
14 | {'name': 'Yahoo', 'url': 'https://me.yahoo.com'}, | |
15 | {'name': 'AOL', 'url': 'http://openid.aol.com/<username>'}, | |
16 | {'name': 'Flickr', 'url': 'http://www.flickr.com/<username>'}, | |
17 | {'name': 'MyOpenID', 'url': 'https://www.myopenid.com'}] | |
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 | |
163c4d87 MR |
26 | ADMINS = ['mir@miras.org'] |
27 | ||
28 | # pagination | |
29 | POSTS_PER_PAGE = 3 | |
db4f0ba9 | 30 |