Ticket #10564: aggregation.diff
File aggregation.diff, 699 bytes (added by , 16 years ago) |
---|
-
docs/topics/db/aggregation.txt
146 146 model being queried. However, sometimes the value you want to aggregate 147 147 will belong to a model that is related to the model you are querying. 148 148 149 When specifying the field to be aggregated in an aggregate function s,149 When specifying the field to be aggregated in an aggregate function, 150 150 Django will allow you to use the same 151 151 :ref:`double underscore notation <field-lookups-intro>` that is used 152 152 when referring to related fields in filters. Django will then handle