1
0
mirror of https://github.com/django/django.git synced 2025-04-17 05:44:38 +00:00
Tai Lee b495c24375 [1.5.x] Fixed #16436 -- defer + annotate + select_related crash
Correctly calculate the ``aggregate_start`` offset from loaded fields,
if any are deferred, instead of ``self.query.select`` which includes all
fields on the model.

Backpatch of 69f7db153d8108dcef033207d49f4c80febf3d70 from master.
2013-10-09 13:55:32 +03:00
..