File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ or alternatively if you have pip installed::
2121 $ pip install Flask-Babel
2222
2323Please note that Flask-Babel requires Jinja 2.5. If you are using an
24- older version you will have to upgrade or disable the Jinja support.
24+ older version you will have to upgrade or disable the Jinja support
25+ (see configuration).
2526
2627
2728Configuration
@@ -37,7 +38,8 @@ object after configuring the application::
3738 app.config.from_pyfile('mysettings.cfg')
3839 babel = Babel(app)
3940
40- The babel object itself can be used to configure the babel support
41+ To disable jinja support, include ``configure_jinja=False `` in the Babel
42+ constructor call. The babel object itself can be used to configure the babel support
4143further. Babel has the following configuration values that can be used to
4244change some internal defaults:
4345
You can’t perform that action at this time.
0 commit comments