Ticket #10127: aggregation_regress_models.diff
File aggregation_regress_models.diff, 644 bytes (added by , 16 years ago) |
---|
-
regressiontests/aggregation_regress/models.py
199 199 >>> sorted([(b.name, b.authors__age__avg) for b in books]) 200 200 [(u'Artificial Intelligence: A Modern Approach', 51.5), (u'Practical Django Projects', 29.0), (u'Python Web Development with Django', 30.3...), (u'Sams Teach Yourself Django in 24 Hours', 45.0)] 201 201 202 >>> sorted([b.publisher.name for b in books]) 203 [u'Apress', u'Prentice Hall', u'Prentice Hall', u'Sams'] 204 202 205 """ 203 206 }