|
|
@ -1,9 +1,10 @@ |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
import os |
|
|
|
import os |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
os_env = os.environ |
|
|
|
|
|
|
|
|
|
|
|
class Config(object): |
|
|
|
class Config(object): |
|
|
|
SECRET_KEY = 'shhhh' # TODO: Change me |
|
|
|
SECRET_KEY = os_env['{{cookiecutter.app_name | upper}}_SECRET'] # TODO: Change me |
|
|
|
APP_DIR = os.path.abspath(os.path.dirname(__file__)) # This directory |
|
|
|
APP_DIR = os.path.abspath(os.path.dirname(__file__)) # This directory |
|
|
|
PROJECT_ROOT = os.path.abspath(os.path.join(APP_DIR, os.pardir)) |
|
|
|
PROJECT_ROOT = os.path.abspath(os.path.join(APP_DIR, os.pardir)) |
|
|
|
BCRYPT_LOG_ROUNDS = 13 |
|
|
|
BCRYPT_LOG_ROUNDS = 13 |
|
|
|