view functions can return generators as responses directly

This commit is contained in:
pgjones 2022-06-09 09:30:21 +01:00 committed by David Lord
parent 7f2a0f4806
commit 762382e436
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
5 changed files with 48 additions and 2 deletions

View file

@ -38,6 +38,8 @@ Unreleased
context will already be active at that point. :issue:`2410`
- ``SessionInterface.get_expiration_time`` uses a timezone-aware
value. :pr:`4645`
- View functions can return generators directly instead of wrapping
them in a ``Response``. :pr:`4629`
Version 2.1.3