mirror of
https://github.com/Hopiu/django.git
synced 2026-04-25 01:04:48 +00:00
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 | ||
| test.png | ||
| test2.png | ||
| test_modelchoicefield.py | ||
| test_uuid.py | ||
| tests.py | ||