This commit is contained in:
Vyacheslav Anzhiganov 2016-01-18 18:47:05 +03:00
parent bc8d32e641
commit 50194716b8

View file

@ -23,7 +23,7 @@ from app.settings import settings
from app import models
from app.models import database
app = Flask(__name__)
app = Flask(__name__, static_folder='static', static_url_path='')
# app.config['SERVER_NAME'] = settings.get('Application', 'SERVER_NAME')
app.config['DEBUG'] = settings.getboolean('Application', 'DEBUG')
app.config['SECRET_KEY'] = settings.get("Application", "SECRET_KEY")