extract common Flask/Blueprint API to Scaffold base class

Co-authored-by: Chris Nguyen <chrisngyn99@gmail.com>
This commit is contained in:
yk396 2020-07-22 15:02:31 -04:00 committed by David Lord
parent 216d97c21a
commit b146a13f63
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
5 changed files with 473 additions and 495 deletions

View file

@ -37,6 +37,11 @@ Unreleased
For example, this allows setting the ``Content-Type`` for
``jsonify()``. Use ``response.headers.extend()`` if extending is
desired. :issue:`3628`
- The ``Scaffold`` class provides a common API for the ``Flask`` and
``Blueprint`` classes. ``Blueprint`` information is stored in
attributes just like ``Flask``, rather than opaque lambda functions.
This is intended to improve consistency and maintainability.
:issue:`3215`
Version 1.1.x