def init_app(app):
webassets = Environment(app)
webassets.register('css_all', css_all)
webassets.register('js_all', js_all)
webassets.manifest = 'cache' if not app.debug else False
webassets.cache = not app.debug
webassets.debug = app.debug
评论列表
文章目录