Skip to content

Releases: martsberger/django-sql-utils

Support for update

28 Sep 15:38

Choose a tag to compare

Fix a bug that prevented using SubqueryAggregates in updates.

Fixed a bug that caused an error with related_name and related_query_name were different for ForeignKeys.

Django 3.0 compatibility

03 Dec 15:16

Choose a tag to compare

The 0.5 release supports Django 3.0 and continues to support older versions of Django back to 1.11.

Bug fix when aggregating foreign key ids

07 Aug 11:51

Choose a tag to compare

An exception was raised when aggregating over a foreign key column and trying to resolve the expression for a it. That bug is fixed in this release.

GenericRelation support

15 Jul 19:37

Choose a tag to compare

Correctly generate subqueries across models connected by GenericRelation.

Even more correct path reversal

13 Jul 05:26

Choose a tag to compare

Much more robust path reversal, tests now include more name mismatches.

Correct path reversal

12 Jul 14:17

Choose a tag to compare

Correct path reversal in cases where the column name doesn't match the table name.

Exists fix

11 Jul 17:40

Choose a tag to compare

Exists needs to go one relation deeper if the final relation is a nullable foreign key.

Also added the pretty_print_sql utility.

pip install bug fix

20 Jun 14:22

Choose a tag to compare

pip install was failing when using the tar archive because the README is missing there.

Easy Exists

12 May 17:40

Choose a tag to compare

Add a simpler API for the Exists Subquery Expression.

Bug fix for Django 1.11

02 Apr 16:09

Choose a tag to compare

Fixes a bug in setting the output_field in Django 1.11