Merge remote-tracking branch 'kaechele/use-webassets'

This commit is contained in:
Khanh Ngo
2018-06-13 09:58:15 +07:00
918 changed files with 1235 additions and 226111 deletions

View File

@ -11,10 +11,14 @@ class SQLAlchemy(SA):
options["pool_pre_ping"] = True
from app.assets import assets
app = Flask(__name__)
app.config.from_object('config')
app.wsgi_app = ProxyFix(app.wsgi_app)
assets.init_app(app)
#### CONFIGURE LOGGER ####
from app.lib.log import logger
logging = logger('powerdns-admin', app.config['LOG_LEVEL'], app.config['LOG_FILE']).config()