2.3.1
Install or upgrade
Install from PyPI with pip:
pip install -U Flask-SQLAlchemy
Changelog
- If a model has a table name that matches an existing table in the metadata,
use that table. Fixes a regression where reflected tables were not picked up
by models. (#551) - Raise the correct error when a model has a table name but no primary key.
(#556) - Fix
repr
on models that don't have an identity because they have not been
flushed yet. (#555) - Allow specifying a
max_per_page
limit for pagination, to avoid users
specifying high values in the request args. (#542) - For
paginate
witherror_out=False
, the minimum value forpage
is
1 andper_page
is 0. (#558)