-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
24 lines (16 loc) · 640 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
_basedir = os.path.abspath(os.path.dirname(__file__))
ROOT_PATH = os.path.abspath(os.path.dirname(__file__))
DEBUG = False
SQLALCHEMY_DATABASE_URI = 'mysql://root:trustno1@localhost/flask_template'
SQLALCHEMY_MIGRATE_REPO = os.path.join(_basedir, 'db_repository')
DATABASE_CONNECT_OPTIONS = {}
THREADS_PER_PAGE = 8
CSRF_ENABLED = True
CSRF_SESSION_KEY = "3fe7fe45ce6b277e498294471e0507f308a58fc6eec9b3e677a87384975340ce"
URL_PROD = 'https//www.yourdomainname.com'
EMAIL_SENDER = "email@sender.com"
MAIL_SENDER_USER = 'user@mandrill.com'
MAIL_SENDER_PASSWORD = 'mandrill_pass'