mirror of
https://github.com/django/django.git
synced 2025-08-01 01:22:36 +00:00
[2.2.x] Used 🎫 role in all tickets links.
Backport of abc51d44af
from master.
This commit is contained in:
parent
7873d3757d
commit
c2a8a69b72
8 changed files with 16 additions and 24 deletions
|
@ -199,9 +199,8 @@ modified using any other ``QuerySet`` operation, including ``filter()``,
|
|||
Combining multiple aggregations
|
||||
-------------------------------
|
||||
|
||||
Combining multiple aggregations with ``annotate()`` will `yield the wrong
|
||||
results <https://code.djangoproject.com/ticket/10060>`_ because joins are used
|
||||
instead of subqueries:
|
||||
Combining multiple aggregations with ``annotate()`` will :ticket:`yield the
|
||||
wrong results <10060>` because joins are used instead of subqueries:
|
||||
|
||||
>>> book = Book.objects.first()
|
||||
>>> book.authors.count()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue