Releases: martsberger/django-sql-utils
Support for update
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
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
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
Correctly generate subqueries across models connected by GenericRelation.
Even more correct path reversal
Much more robust path reversal, tests now include more name mismatches.
Correct path reversal
Correct path reversal in cases where the column name doesn't match the table name.
Exists fix
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
pip install was failing when using the tar archive because the README is missing there.
Easy Exists
Add a simpler API for the Exists Subquery Expression.
Bug fix for Django 1.11
Fixes a bug in setting the output_field in Django 1.11