mirror of
https://github.com/django/django.git
synced 2024-11-18 07:26:04 +00:00
40f0aa9885
Removing all() in __iter__() prevents a duplicate query when choices are cast to a list and there's a prefetch_related(). |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
test2.png | ||
test_modelchoicefield.py | ||
test_uuid.py | ||
test.png | ||
tests.py |