Ticket #10812: entry__count.diff

File entry__count.diff, 529 bytes (added by uzi, 6 years ago)

One underscore added

  • docs/ref/models/querysets.txt

     
    188188    >>> q[0].entry__count
    189189    42
    190190
    191 The ``Blog`` model doesn't define an ``entry_count`` attribute by itself,
     191The ``Blog`` model doesn't define an ``entry__count`` attribute by itself,
    192192but by using a keyword argument to specify the aggregate function, you can
    193193control the name of the annotation::
    194194
Back to Top