error for render_template outside app context

This commit is contained in:
Yourun-Proger 2022-07-13 22:48:28 +03:00 committed by David Lord
parent 7096b2c4b1
commit 58f3536a8f
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 15 additions and 0 deletions

View file

@ -10,6 +10,9 @@ Unreleased
- Relax type annotation for ``after_request`` functions. :issue:`4600`
- ``instance_path`` for namespace packages uses the path closest to
the imported submodule. :issue:`4600`
- Clearer error message when ``render_template`` and
``render_template_string`` are used outside an application context.
:pr:`4693`
Version 2.1.2