summaryrefslogtreecommitdiff
path: root/tests/forms_tests/widget_tests/test_select.py
AgeCommit message (Collapse)Author
2026-01-18Applied Black's 2026 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/26.1.0
2023-08-30 Fixed #31262 -- Added support for mappings on model fields and ↵Nick Pope
ChoiceField's choices.
2023-07-28Fixed #34655 -- Increased radioselect's test coverage.Jakub Bagiński
2022-03-30Refs #32339 -- Added use_fieldset to Widget.David
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-10-29Used more specific unittest assertions in tests.Nick Pope
* assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False.
2019-08-07Corrected several typos in string literals and test names.Min ho Kim
2018-03-15Fixed #29200 -- Fixed label rendering when using RadioSelect and ↵Tim Graham
CheckboxSelectMultiple with MultiWidget.
2017-06-17Fixed #28176 -- Restored the uncasted option value in ChoiceWidget template ↵Tim Graham
context.
2017-05-03Fixed #28157 -- Fixed choice ordering in form fields with grouped and ↵Tim Graham
non-grouped options. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-04-21Fixed #28075 -- Prevented ChoiceWidget from localizing option values.Jon Dufresne
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-28Fixed #27370 -- Prevented Select widget from using 'required' with a ↵Josef Rousek
non-empty first value.
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-09-21Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 ↵Jon Dufresne
boolean syntax.
2016-02-02Fixed #25731 -- Removed unused choices kwarg for Select.render()jpic
2015-08-31Rewrote form widget tests as proper unittests.Preston Timmons
This is preparation for landing the template-based widget rendering patch and goes a long way to making these tests more useful for future development. The old doctest heritage is strong here.