0
0
mirror of https://github.com/django/django.git synced 2024-11-25 07:59:34 +01:00
django/tests/defer_regress
Tai Lee 69f7db153d 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.

Also made some PEP 8 fixes.
2013-05-30 08:46:31 +03:00
..
__init__.py
models.py Fixed #16436 -- defer + annotate + select_related crash 2013-05-30 08:46:31 +03:00
tests.py Fixed #16436 -- defer + annotate + select_related crash 2013-05-30 08:46:31 +03:00