| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-04-22 | Fixed #35870 -- Made blank choice label in forms more accessible. | Annabelle Wiegart | |
| Added new constant django.db.models.fields.BLANK_CHOICE_LABEL for an accessible and translatable blank choice label in forms. Deprecated django.db.models.fields.BLANK_CHOICE_DASH constant. Added the immediately deprecated transitional setting USE_BLANK_CHOICE_DASH. Co-Authored-By: Marijke Luttekes <mail@marijkeluttekes.dev> | |||
| 2026-01-18 | Applied Black's 2026 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/26.1.0 | |||
| 2025-12-31 | Fixed #36829 -- Reverted value of ClearableFileInput.use_fieldset to True. | Johannes Maron | |
| There was unresolved discussion regarding whether to set ClearableFileInput.use_fieldset to True or False when use_fieldset was introduced in Django 4.1, since the clear checkbox appears only sometimes. Although using <fieldset> is likely desirable, since the primary motivation in #35892 was just to improve markup in the admin, and a deprecation path was not provided for general form usage, future work is deferred to #36828. Regression in 4187da258fe212d494cb578a0bc2b52c4979ab95. Thanks Tim Graham, Antoliny, and David Smith for triage. | |||
| 2025-11-13 | Fixed #36724 -- Removed invalid "for" attribute on <legend> tags. | Kasyap Pentamaraju | |
| 2025-08-19 | Fixed #35892 -- Supported Widget.use_fieldset in admin forms. | antoliny0919 | |
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2024-08-02 | Fixed #35601 -- Added TelInput widget. | lucasesposito | |
| 2024-08-02 | Fixed #35599 -- Added ColorInput widget. | arjunomray | |
| 2024-07-31 | Fixed #35598 -- Added SearchInput widget. | Jeremy Thompson | |
| 2024-03-14 | Refs #34488 -- Made ClearableFileInput preserve "Clear" checked attribute ↵ | Johannes Maron | |
| when form is invalid. | |||
| 2023-11-28 | Refs #34986 -- Fixed some test assertions for PyPy. | Nick Pope | |
| These failures were due to minor inconsistencies or implementation differences between CPython and PyPy. | |||
| 2023-08-30 | Fixed #31262 -- Added support for mappings on model fields and ↵ | Nick Pope | |
| ChoiceField's choices. | |||
| 2023-07-31 | Refs #34655 -- Made cosmetic edits to RadioSelect tests. | nessita | |
| Follow up to f9c5958b8fe452983122b6a13c8f806e4e4e1eef. | |||
| 2023-07-28 | Fixed #34655 -- Increased radioselect's test coverage. | Jakub Bagiński | |
| 2023-05-03 | Fixed CVE-2023-31047, Fixed #31710 -- Prevented potential bypass of ↵ | Mariusz Felisiak | |
| validation when uploading multiple files using one form field. Thanks Moataz Al-Sharida and nawaik for reports. Co-authored-by: Shai Berger <shai@platonix.com> Co-authored-by: nessita <124304+nessita@users.noreply.github.com> | |||
| 2023-04-21 | Fixed #34488 -- Made ClearableFileInput preserve "Clear" checked attribute ↵ | Marcelo Galigniana | |
| when form is invalid. | |||
| 2023-03-22 | Fixed #34424 -- Fixed SelectDateWidget crash for inputs raising OverflowError. | Jure Slak | |
| 2023-01-17 | Refs #32873 -- Removed settings.USE_L10N per deprecation timeline. | Mariusz Felisiak | |
| 2022-08-25 | Fixed #33830 -- Fixed VariableDoesNotExist when rendering ClearableFileInput. | Neeraj Kumar | |
| 2022-04-26 | Fixed #33656 -- Fixed MultiWidget crash when compressed value is a tuple. | L | |
| 2022-03-30 | Refs #32339 -- Added use_fieldset to Widget. | David | |
| 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 | |
| 2022-02-03 | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | |
| In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | |||
| 2021-12-09 | Refs #32338 -- Added Boundfield.legend_tag(). | David Smith | |
| 2021-09-14 | Fixed #32873 -- Deprecated settings.USE_L10N. | Claude Paroz | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-08-27 | Refs #32338 -- Made RadioSelect/CheckboxSelectMultiple render in <div> tags. | David Smith | |
| This improves accessibility for screen reader users. | |||
| 2021-05-12 | Refs #32738 -- Added sanitize_strftime_format() to replace datetime_safe. | Nick Pope | |
| 2020-09-22 | Corrected docstring quotes in various code. | Mariusz Felisiak | |
| 2020-07-10 | Refs #30578 -- Made SelectDateWidget.format_value() independent of USE_L10N. | Claude Paroz | |
| 2020-06-01 | Fixed #31536 -- Fixed rendering of disabled AdminFileWidget and ↵ | Carles Pina | |
| ClearableFileInput. | |||
| 2020-03-24 | Fixed #7664 -- Allowed customizing suffixes of MultiWidget.widgets' names. | David Smith | |
| 2020-03-11 | Fixed typo in tests/forms_tests/widget_tests/test_clearablefileinput.py ↵ | David Smith | |
| docstring. | |||
| 2020-01-08 | Fixed #31118 -- Made FileInput to avoid the required attribute when initial ↵ | Shubham singh | |
| data exists. | |||
| 2019-12-10 | Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs. | Peter Andersen | |
| 2019-11-21 | Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required ↵ | Carlton Gibson | |
| SelectDateWidget." This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b. The initial issue was incorrect. Django 2.2, and before, did not generate invalid HTML as reported. With f03821 in place invalid HTML was generated. Thanks to Kevin Brown for follow-up report and investigation. | |||
| 2019-10-29 | Used 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-07 | Corrected several typos in string literals and test names. | Min ho Kim | |
| 2019-06-26 | Fixed #30578 - Made SelectDateWidget respect a custom date format when ↵ | Shubham Bhagat | |
| USE_L10N is disabled. | |||
| 2019-05-08 | Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget. | Hasan Ramezani | |
| placeholder is required for "select" with "required" attribute. | |||
| 2019-04-25 | Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵ | Jon Dufresne | |
| html.escape()/unescape(). | |||
| 2018-11-14 | Fixed #17210 -- Made NullBooleanSelect use unknown/true/false as query data. | Basil Dubyk | |
| 2018-08-01 | Fixed typos in comments and docs. | luz.paz | |
| 2018-07-26 | Refs #29600 -- Added test for datetime_safe usage in ↵ | Tim Graham | |
| SelectDateWidget.value_from_datadict(). | |||
| 2018-04-02 | Fixed #29273 -- Prevented initial selection of empty choice in multiple ↵ | Claude Paroz | |
| choice widgets. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. | |||
| 2018-03-15 | Fixed #29200 -- Fixed label rendering when using RadioSelect and ↵ | Tim Graham | |
| CheckboxSelectMultiple with MultiWidget. | |||
| 2018-01-30 | Fixed #29036 -- Fixed HTML5 required validation on SelectDateWidget if the ↵ | Vlastimil Zíma | |
| attribute is added by JavaScript. Thanks Tim Graham for the initial patch. | |||
| 2018-01-30 | Added tests for SelectDateWidget.value_from_datadict(). | Tim Graham | |
| 2018-01-21 | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | |
| 2018-01-20 | Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean ↵ | Jon Dufresne | |
| syntax. | |||
