./www/py-flask-sqlalchemy, Adds SQLAlchemy support to your Flask application

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4.1, Package name: py37-flask-sqlalchemy-2.4.1, Maintainer: kleink

Flask-SQLAlchemy is an extension for Flask that adds support for
SQLAlchemy to your application. It requires SQLAlchemy 0.6 or
higher. It aims to simplify using SQLAlchemy with Flask by providing
useful defaults and extra helpers that make it easier to accomplish
common tasks.


Required to run:
[devel/py-setuptools] [databases/py-sqlalchemy] [www/py-flask] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: eb03594bdfb42e5856e03d5b7b4e374f76dbc9dd
RMD160: 566f5f4459d588fda8ba898791e65fda7fe3a58b
Filesize: 125.843 KB

Version history: (Expand)


CVS history: (Expand)


   2019-11-08 14:21:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flask-sqlalchemy: updated to 2.4.1

Version 2.4.1
- Fix ``AttributeError`` when using multiple binds with polymorphic
  models.
   2019-05-19 10:07:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flask-sqlalchemy: updated to 2.4.0

Version 2.4.0
-  Make engine configuration more flexible.
-  Address SQLAlchemy 1.3 deprecations.
-  get_or_404() and first_or_404() now accept a description
   parameter to control the 404 message.
-  Use time.perf_counter for Python 3 on Windows.
-  Drop support for Python 2.6 and 3.3.
-  Add an example of Flask's tutorial project, Flaskr, adapted for
   Flask-SQLAlchemy.
   2017-12-12 10:53:24 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flaks-sqlalchemy: updated to 2.3.2

Version 2.3.2
- Don't mask the parent table for single-table inheritance models.

Version 2.3.1
- 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.
- Raise the correct error when a model has a table name but no primary key.
- Fix repr on models that don't have an identity because they have not been
  flushed yet.
- Allow specifying a max_per_page limit for pagination, to avoid users
  specifying high values in the request args.
- For paginate with error_out=False, the minimum value for page is
  1 and per_page is 0.

Version 2.3.0
- Multiple bugs with __tablename__ generation are fixed. Names will be
  generated for models that define a primary key, but not for single-table
  inheritance subclasses. Names will not override a declared_attr.
  PrimaryKeyConstraint is detected.
- Passing an existing declarative_base() as model_class to
  SQLAlchemy.__init__ will use this as the base class instead of creating
  one. This allows customizing the metaclass used to construct the base.
- The undocumented DeclarativeMeta internals that the extension uses for
  binds and table name generation have been refactored to work as mixins.
  Documentation is added about how to create a custom metaclass that does not
  do table name generation.
- Model and metaclass code has been moved to a new models module.
  _BoundDeclarativeMeta is renamed to DefaultMeta; the old name will be
  removed in 3.0.
- Models have a default repr that shows the model name and primary key.
- Fixed a bug where using init_app would cause connectors to always use the
  current_app rather than the app they were created for. This caused issues
  when multiple apps were registered with the extension.
   2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229)
Log message:
Switch github HOMEPAGEs to https.
   2017-03-14 15:49:01 by Klaus Klein | Files touched by this commit (2) | Package updated
Log message:
Update py-flask-sqlalchemy to 2.2.

Version 2.2
-----------

Released on February 27, 2017, codename Dubnium

- Minimum SQLAlchemy version is 0.8 due to use of ``sqlalchemy.inspect``.
- Added support for custom ``query_class`` and ``model_class`` as args
  to the ``SQLAlchemy`` constructor. (`#328`_)
- Allow listening to SQLAlchemy events on ``db.session``. (`#364`_)
- Allow ``__bind_key__`` on abstract models. (`#373`_)
- Allow ``SQLALCHEMY_ECHO`` to be a string. (`#409`_)
- Warn when ``SQLALCHEMY_DATABASE_URI`` is not set. (`#443`_)
- Don't let pagination generate invalid page numbers. (`#460`_)
- Drop support of Flask < 0.10. This means the db session is always tied to
  the app context and its teardown event. (`#461`_)
- Tablename generation logic no longer accesses class properties unless they
  are ``declared_attr``. (`#467`_)

.. _#328: https://github.com/mitsuhiko/flask-sqlalchemy/pull/328
.. _#364: https://github.com/mitsuhiko/flask-sqlalchemy/pull/364
.. _#373: https://github.com/mitsuhiko/flask-sqlalchemy/pull/373
.. _#409: https://github.com/mitsuhiko/flask-sqlalchemy/pull/409
.. _#443: https://github.com/mitsuhiko/flask-sqlalchemy/pull/443
.. _#460: https://github.com/mitsuhiko/flask-sqlalchemy/pull/460
.. _#461: https://github.com/mitsuhiko/flask-sqlalchemy/pull/461
.. _#467: https://github.com/mitsuhiko/flask-sqlalchemy/pull/467
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2015-10-26 19:48:55 by Klaus Klein | Files touched by this commit (2) | Package updated
Log message:
Update py-flask-sqlalchemy to 2.1.

Version 2.1
-----------

Released on October 23rd 2015, codename Caesium

- Table names are automatically generated in more cases, including
  subclassing mixins and abstract models.
- Allow using a custom MetaData object.
- Add support for binds parameter to session.
   2014-12-31 14:57:34 by Thomas Klausner | Files touched by this commit (125)
Log message:
Improve EGG_NAME default to work for packages with '-' in their name.
Remove now unnecessary overrides in various packages.