Ticket #10564: aggregation.diff

File aggregation.diff, 699 bytes (added by rduffield, 15 years ago)
  • docs/topics/db/aggregation.txt

     
    146146model being queried. However, sometimes the value you want to aggregate
    147147will belong to a model that is related to the model you are querying.
    148148
    149 When specifying the field to be aggregated in an aggregate functions,
     149When specifying the field to be aggregated in an aggregate function,
    150150Django will allow you to use the same
    151151:ref:`double underscore notation <field-lookups-intro>` that is used
    152152when referring to related fields in filters. Django will then handle
Back to Top