Use __count for a field name and then treat define the rest of the
rule normally. In QuerySetRule.apply, the queryset is annotated behind
the scenes and then the filter is applied.
I wasn't sure how best to update the docs. This patch should apply cleanly to master, even though it was written against several other patches.
Use__count for a field name and then treat define the rest of the
rule normally. In QuerySetRule.apply, the queryset is annotated behind
the scenes and then the filter is applied.
I wasn't sure how best to update the docs. This patch should apply cleanly to master, even though it was written against several other patches.