X-Git-Url: http://git.datanom.net/wpp.git/blobdiff_plain/06d96c2aaa206c47d6040716f25c8c65f6cf29c4..047d4d29754ed04bb696cc6dad3c43084290820b:/config.py?ds=inline diff --git a/config.py b/config.py new file mode 100644 index 0000000..ddd6931 --- /dev/null +++ b/config.py @@ -0,0 +1,19 @@ +import os +basedir = os.path.abspath(os.path.dirname(__file__)) + +SQLALCHEMY_DATABASE_URI = 'postgresql://wpp:Yo2zoiRe@localhost/wpp' +SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository') +SQLALCHEMY_TRACK_MODIFICATIONS = True + +WTF_CSRF_ENABLED = True +SECRET_KEY = os.urandom(32) + +# mail server settings +MAIL_SERVER = 'localhost' +MAIL_PORT = 25 +MAIL_USERNAME = None +MAIL_PASSWORD = None + +# administrator list +ADMINS = ['mir@miras.org'] +