Skip to content
Myr

Remove deprecated init_jinja_globals.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John Moutafis · committed by John Moutafis · parent 45c8fb3 · Browse files · 1 file+0 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−9 removed

  • other:+0 added−9 removed

1 file+0 added−9 removed

modified:flask/app.py-9 removed
770 unmodified lines
771 .. versionadded:: 0.7772 """773 return DispatchingJinjaLoader(self)774775 def init_jinja_globals(self):776 """Deprecated. Used to initialize the Jinja2 globals.777778 .. versionadded:: 0.5779 .. versionchanged:: 0.7780 This method is deprecated with 0.7. Override781 :meth:`create_jinja_environment` instead.782 """783775 def select_jinja_autoescape(self, filename):776 """Returns ``True`` if autoescaping should be active for the given777 template name. If no template name is given, returns `True`.778
1420 unmodified lines