Changes between Initial Version and Version 3 of Ticket #10060


Ignore:
Timestamp:
01/18/2009 06:00:15 AM (7 years ago)
Author:
ubernostrum
Comment:

(formatting)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10060

    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Accepted
    • Property Needs tests unset
    • Property Patch needs improvement unset
  • 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