Ticket #10127: aggregation_regress_models.diff

File aggregation_regress_models.diff, 644 bytes (added by Sylvain Pasche <sylvain.pasche@…>, 16 years ago)

aggregation_regress patch

  • regressiontests/aggregation_regress/models.py

     
    199199>>> sorted([(b.name, b.authors__age__avg) for b in books])
    200200[(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)]
    201201
     202>>> sorted([b.publisher.name for b in books])
     203[u'Apress', u'Prentice Hall', u'Prentice Hall', u'Sams']
     204
    202205"""
    203206}
Back to Top