index
:
django.git
fix-31295
main
stable/5.2.x
stable/6.0.x
django
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
model_forms
/
test_modelchoicefield.py
Age
Commit message (
Expand
)
Author
5 hours
Fixed #31295 -- Avoid Select widget triggering additional query when using Mo...
fix-31295
Charles Roelli
9 days
Fixed #35870 -- Made blank choice label in forms more accessible.
Annabelle Wiegart
2026-02-10
Modified tests to format PKs with %s rather than %d.
Tim Graham
2026-01-18
Applied Black's 2026 stable style.
Mariusz Felisiak
2025-07-23
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
django-bot
2024-06-17
Fixed #35483 -- Added NUL (0x00) character validation to ModelChoiceFields.
Alexander Lötvall
2022-04-14
Relaxed some query ordering assertions in various tests.
Mariusz Felisiak
2022-02-07
Refs #33476 -- Refactored code to strictly match 88 characters line length.
Mariusz Felisiak
2022-02-07
Refs #33476 -- Reformatted code with Black.
django-bot
2021-09-30
Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable.
Aljaž Košir
2021-08-27
Refs #32338 -- Made RadioSelect/CheckboxSelectMultiple render in <div> tags.
David Smith
2020-04-28
Changed django.forms.ValidationError imports to django.core.exceptions.Valida...
François Freitag
2020-02-05
Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect f...
Hasan Ramezani
2019-12-23
Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ...
Jon Dufresne
2019-12-11
Fixed typo in ModelChoiceFieldTests.
Jon Dufresne
2019-10-11
Fixed #30014 -- Fixed ModelChoiceField validation when initial value is a mod...
Etienne Chové
2019-10-11
Added ModelChoiceField test for validation with to_field_name.
Etienne Chové
2018-04-23
Refs #28312 -- Added an optimized __bool__() to ModelChoiceIterator.
François Freitag
2018-04-23
Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient.
François Freitag
2018-03-01
Fixed #29159 -- Made ModelChoiceIterator reuse QuerySet result cache.
François Freitag
2018-03-01
Fixed #29158 -- Fixed len(choices) crash if ModelChoiceField's queryset is a ...
François Freitag
2018-03-01
Consolidated ModelChoiceField tests.
François Freitag