v2.0
Changes since v1.22
See also: https://django-postgres-extra.readthedocs.io/en/master/major_releases.html#id1
New features
- Support for PostgreSQL 11.x declarative table partitioning.
- Support for
TRUNCATE TABLE
- Case insensitive index
- Support for Django 3.x
- Support for Python 3.8 and 3.9
Other changes
- Uses Django 2.x's mechanism for overriding queries and compilers.
django-postgres-extra
is extensible in the same way that Django is extensible now. - Removes hacks because Django 2.x is more extensible.
Breaking changes
- Removes support for
psqlextra.signals
. Switch to standard Django signals. - Inserts with
ConflictAction.NOTHING
only returns new rows. Conflicting rows are not returned. - Drop support for Python 3.5.
- Drop support for Django 1.x.
- Removes
psqlextra.expressions.Min
,psqlextra.expressions.Max
, these are natively supported by Django.
pip install django-postgres-extra==2.0