Changes between Initial Version and Version 1 of Ticket #34444


Ignore:
Timestamp:
Mar 28, 2023, 5:50:58 PM (21 months ago)
Author:
Clément Escolano
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34444 – Description

    initial v1  
    2727
    2828{{{
    29 Group.objects.annotate(total=Sum("memberships__extra__amount"))
     29groups = Group.objects.annotate(total=Sum("memberships__extra__amount")).all()
     30groups[0].total
    3031}}}
    3132
    32 Note that the SQL query made by Django is correct but the code still raises the error
     33The SQL query is correct and returns the right information but accessing the data raises the error
    3334
    3435{{{
Back to Top