Changes between Initial Version and Version 1 of Ticket #10766


Ignore:
Timestamp:
04/08/09 20:39:42 (6 years ago)
Author:
Alex
Comment:

Please use preview :)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10766

    • Property Needs documentation unset
    • Property Needs tests unset
    • Property Patch needs improvement unset
  • Ticket #10766 – Description

    initial v1  
    11I recently wrote the following code:
    2 
     2{{{
    33classes = classes.annotate(num_students=Count('anchor__child_set__userbit_qsc'))
    44classes = classes.annotate(total_max_student=Sum('sections__num_students'))
    5 
     5}}}
    66The second line above (correctly) generated an error for me because the model referenced by "sections" doesn't contain a field named "num_students".
    77
Back to Top