# -*- coding: utf-8 -*-
#!flask/bin/python3
import os

#: for the cross-site request forgery prevention
WTF_CSRF_ENABLED = True

#: this is needed when CSRF is enabled, it is
#: used to create a cryptographic token that is
#: used to validate a form. Make sure to set the
#: secret key to something that is difficult to guess.
SECRET_KEY = 'you-will-never-guess'

OPENID_PROVIDERS = [
    {'name': 'OpenID', 'url': 'http://<username>.openid.org.cn'},
]

basedir = os.path.abspath(os.path.dirname(__file__))

#: path of our database
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')

#: the folder where we will store our migrate data files
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
@@ -720,8 +720,169 @@
 sitory')
+%0A%0A#: mail server settings%0AMAIL_SERVER = 'localhost'%0AMAIL_PORT = 25%0AMAIL_USERNAME = None%0AMAIL_PASSWORD = None%0A%0A#: administrator list%0AADMINS = %5B'you@example.com'%5D%0A

add mail server