Changes between Initial Version and Version 3 of Ticket #10060


Ignore:
Timestamp:
Jan 18, 2009, 6:00:15 AM (16 years ago)
Author:
James Bennett
Comment:

(formatting)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10060

    • Property Triage Stage UnreviewedAccepted
  • Ticket #10060 – Description

    initial v3  
    11Annotating across multiple tables results in wrong answers. i.e.
    22
     3{{{
    34In [110]: total = Branch.objects.all().annotate(total=Sum('center__client__loan__amount'))
    45
     
    1920Out[116]: 98816000
    2021          ^^^^^^^^^^^
     22}}}
    2123
    2224Compare the output of total in 116 vs. 111 (the correct answer).
Back to Top