github pallets-eco/flask-sqlalchemy 2.3.1

latest releases: 3.1.1, 3.0.x, 2.x...
6 years ago

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 with error_out=False, the minimum value for page is
    1 and per_page is 0. (#558)

Don't miss a new flask-sqlalchemy release

NewReleases is sending notifications on new releases.