Changes between Initial Version and Version 1 of Ticket #34444
- Timestamp:
- Mar 28, 2023, 5:50:58 PM (20 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34444 – Description
initial v1 27 27 28 28 {{{ 29 Group.objects.annotate(total=Sum("memberships__extra__amount")) 29 groups = Group.objects.annotate(total=Sum("memberships__extra__amount")).all() 30 groups[0].total 30 31 }}} 31 32 32 Note that the SQL query made by Django is correct but the code stillraises the error33 The SQL query is correct and returns the right information but accessing the data raises the error 33 34 34 35 {{{