# Config file
DEBUG = False
SECRET_KEY = '\x0eG\x98n5\xb1\xd9q\xf9\xfc\x914\xbc\x9b\x0e\xe6\x94\x89\xb6'
STATIC_URL = "http://zuipindao.b0.upaiyun.com/static"

# Flask-Babel support: Display Chinese by default
BABEL_DEFAULT_LOCALE = "zh_CN"

# Database
_DB_HOST = "localhost"
_DB_USER = "root"
_DB_PASS = "38HX4Q7u"
_DB_NAME = "zuipindao"
_UNIX_SOCKET = "?unix_socket=/tmp/mysql.sock"

SQLALCHEMY_DATABASE_URI = "mysql://" + _DB_USER + ":" + _DB_PASS + "@" + _DB_HOST + "/" + _DB_NAME + _UNIX_SOCKET

# MailChimp
MAILCHIMP_API_KEY = "073617ded80a5776906eae0715877270-us5"
MAILCHIMP_LIST_ID = "70a90fa42a"
# Exceptions
# http://apidocs.mailchimp.com/api/1.3/exceptions.field.php
MAILCHIMP_EXCEPTION_LIST_ALREADY_SUBSCRIBED = "ListAlreadySubscribedException"
MAILCHIMP_EXCEPTION_INVALID_EMAIL = "InvalidEmailException"