django/tests/model_forms
Jim Bailey 539e3693d4 Fixed #20849 -- ModelForms do not work well with prefetch_related.
model_to_dict() (used when rendering forms) queries the database
to get the list of primary keys for ManyToMany fields. This is
unnecessary if the field queryset has been prefetched, all the
keys are already in memory and can be obtained with a simple
iteration.
2013-11-03 12:27:54 +02:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Fixed #21302 -- Fixed unused imports and import *. 2013-11-02 15:24:56 -04:00
test.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
test2.png Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
tests.py Fixed #20849 -- ModelForms do not work well with prefetch_related. 2013-11-03 12:27:54 +02:00