v1.22
Changes since v1.21
- #35 Django 2.0 compatibility
- #46 Foreign keys as objects
- #41 Foreign keys that are primary keys
- #49 Support for index_predicate in all shortcut methods and bulk upsert
- #52 bulk_upsert should return objects upserted
- Experimental support for expressions in HStore values.
- Fixed an bug in experimental HStore expression support that would cause ambiguity between keys and values.
- #57 Fixes a bug that makes PostgresQuerySet.insert properly return the primary key instead of assuming the primary key is always a single column named id. (fixes #48)
- Fixes a bug that broke string casting for values inside a HStoreValue (dict(key1=1) should become dict(key1='1')).
- Fixes a bug that causes an error when upgrading from an older version of django-postgres-extra from before "required constraints" were enforced on a DB level. It would attempt to drop a non-existent constraint.
- Fix broken backwards compatibility with Django 1.11X, add support for Django 2.1
- Fix renaming annotations not working with Django 2.1
- #71 Deconstruct empty list of required and uniqueness keyword arguments
- #79 Ensure bulk_upsert always returns an iterable
- #78 Add return_model to bulk_upsert
- #83 Ensure bulk_upsert accepts any iterable for rows
pip install django-postgres-extra==1.22