Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@j4mie j4mie released this 19 Jul 12:29
· 96 commits to main since this release
aa947ed

Changed

  • BACKWARDS INCOMPATIBLE: The default value of the distinct argument for the pairs.count and pairs.has functions has changed from True to False. This now matches the default value of the distinct arguments to Django's Count annotation. To retain current behaviour, add distinct=True to all calls to these two functions in your codebase. For background on this decision, see this discussion.

Added

  • Proper documentation! https://www.django-readers.org
  • New pairs.annotate function allowing you to annotate a queryset with aggregates, functions etc and produce the result.
  • New pairs.sum function to annotate a queryset with the Sum aggregate function and produce the result.