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 Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
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