1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/model_forms
François Freitag 40f0aa9885 Fixed #29158 -- Fixed len(choices) crash if ModelChoiceField's queryset is a manager.
Removing all() in __iter__() prevents a duplicate query when choices are
cast to a list and there's a prefetch_related().
2018-03-01 14:12:14 -05:00
..
__init__.py
models.py Eliminated the need to modify a model forms test when new test files are added. 2018-02-28 10:26:26 -05:00
test2.png
test_modelchoicefield.py Fixed #29158 -- Fixed len(choices) crash if ModelChoiceField's queryset is a manager. 2018-03-01 14:12:14 -05:00
test_uuid.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test.png
tests.py Fixed #29158 -- Fixed len(choices) crash if ModelChoiceField's queryset is a manager. 2018-03-01 14:12:14 -05:00