This commit is contained in:
mb
2020-05-01 18:48:43 +02:00
parent a700a800e5
commit 161478117c
3 changed files with 7 additions and 4 deletions

View File

@@ -8,10 +8,10 @@
"""JS/CSS Webpack bundles for theme."""
from flask_webpackext import WebpackBundle
from flask import current_app
def theme():
"""Returns module's webpack bundle.
This is a callable function in order to lazy load `current_app`
and avoid working outside application context.
"""