| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-08-02 | [4.1.x] Fixed #33876, Refs #32229 -- Made management forms render with ↵ | Carlton Gibson | |
| div.html template. Thanks to Claude Paroz for the report. Backport of 89e695a69b16b8c0e720169b3ca4852cfd0c485f from main | |||
| 2022-07-05 | [4.1.x] Fixed #33822 -- Fixed save() crash on model formsets when not ↵ | Shawn Dong | |
| created by modelformset_factory(). Thanks Claude Paroz for the report. Regression in e87f57fdb8dcdabc452bd15abd015bf6c9b1f7a8. Backport of 18c5ba07cc81be993941ecc2ecc17923b401b66f from main | |||
| 2022-06-03 | [4.1.x] Fixed documentation of Widget.id_for_label() empty return value. | Swann | |
| Backport of d0863429a39dbc99a52a6d781006e7075c743d33 from main | |||
| 2022-05-17 | Refs #32339 -- Deprecated default.html form template. | David Smith | |
| Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2022-05-12 | Fixed #32559 -- Added 'step_size’ to numeric form fields. | Kapil Bansal | |
| Co-authored-by: Jacob Rief <jacob.rief@uibk.ac.at> | |||
| 2022-05-10 | Fixed #33622 -- Allowed customizing error messages for invalid number of forms. | Marc Seguí Coll | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-05-10 | Fixed #30581 -- Added support for Meta.constraints validation. | Gagaro | |
| Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. | |||
| 2022-05-05 | Fixed #32339 -- Added div.html form template. | David Smith | |
| 2022-04-27 | Refs #32339 -- Allowed renderer to specify default form and formset templates. | Carlton Gibson | |
| Co-authored-by: David Smith <smithdc@gmail.com> | |||
| 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-03-16 | Used sets for field names for exclusion. | Gagaro | |
| They are used only for containment checks. | |||
| 2022-02-10 | Fixed #29490 -- Added support for object-based Media CSS and JS paths. | Claude Paroz | |
| 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], ) | |||
| 2022-01-27 | Fixed #26142 -- Allowed model formsets to prevent new object creation. | vgolubev | |
| Thanks Jacob Walls, David Smith, and Mariusz Felisiak for reviews. Co-authored-by: parth <parthvin@gmail.com> | |||
| 2022-01-22 | Stopped including type="text/css" attributes for CSS link tags. | Claude Paroz | |
| 2022-01-07 | Fixed #33419 -- Restored marking forms.Field.help_text as HTML safe. | David | |
| Regression in 456466d932830b096d39806e291fe23ec5ed38d5. Thanks Matt Westcott for the report. | |||
| 2021-12-21 | Refs #24121 -- Added __repr__() to BaseFormSet. | Baptiste Mispelon | |
| 2021-12-21 | Fixed typo in django/forms/widgets.py. | vavanade | |
| 2021-12-10 | Moved ManagementForm's fields to class attributes. | Adam Johnson | |
| This helps introspection, and it follows the comment in BaseForm.__init__() to avoid changing base_fields. Thanks to Silvio Gutierrez and Baptiste Mispelon for investigating. | |||
| 2021-12-09 | Refs #32338 -- Added Boundfield.legend_tag(). | David Smith | |
| 2021-11-05 | Fixed #33235 -- Removed "for = ..." from MultiWidget's <label>. | David Smith | |
| This improves accessibility for screen reader users. | |||
| 2021-09-30 | Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable. | Aljaž Košir | |
| 2021-09-29 | Fixed #33134 -- Fixed recursion depth error when rendering Form with ↵ | David Smith | |
| BoundFields. Regression in 456466d932830b096d39806e291fe23ec5ed38d5. | |||
| 2021-09-27 | Refs #32355 -- Used @functools.lru_cache as a straight decorator. | Mariusz Felisiak | |
| 2021-09-24 | Fixed #33130 -- Restored form errors to be a dict. | Jaap Roes | |
| Regression in 456466d932830b096d39806e291fe23ec5ed38d5. | |||
| 2021-09-20 | Fixed #31026 -- Switched form rendering to template engine. | David Smith | |
| Thanks Carlton Gibson, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews. Co-authored-by: Johannes Hoppe <info@johanneshoppe.com> | |||
| 2021-09-03 | Fixed #32975 -- Fixed admin system check for inlines with foreign keys to ↵ | taulant | |
| proxy models. | |||
| 2021-08-27 | Refs #32338 -- Made RadioSelect/CheckboxSelectMultiple render in <div> tags. | David Smith | |
| This improves accessibility for screen reader users. | |||
| 2021-08-04 | Fixed #29205 -- Corrected rendering of required attributes for ↵ | Jacob Walls | |
| MultiValueField subfields. | |||
| 2021-08-04 | Fixed #32855 -- Corrected BoundWidget.id_for_label() with custom auto_id. | Jacob Rief | |
| 2021-08-03 | Fixed #32984 -- Allowed customizing a deletion field widget in formsets. | Ties Jan Hefting | |
| 2021-07-21 | Fixed #32949 -- Restored invalid number handling in DecimalField.validate(). | yakimka | |
| DecimalField must itself validate() values, such as NaN, which cannot be passed to validators, such as MaxValueValidator, during the run_validators() phase. Regression in cc3d24d7d577f174937a0744d886c4c7123cfa85. | |||
| 2021-07-16 | Fixed #32924 -- Changed BaseForm.get_initial_for_field() to remove ↵ | Chris Jerdonek | |
| microseconds when needed. | |||
| 2021-07-15 | Refs #32920 -- Added BoundField._has_changed() for use in ↵ | Chris Jerdonek | |
| BaseForm.changed_data(). | |||
| 2021-07-15 | Fixed #32920 -- Changed BaseForm to access its values through bound fields. | Chris Jerdonek | |
| 2021-07-15 | Fixed #32905 -- Added CSS class for non-form errors of formsets. | Ties Jan Hefting | |
| 2021-07-13 | Fixed #32917 -- Added BaseForm._widget_data_value()/_field_data_value(). | Chris Jerdonek | |
| 2021-07-05 | Fixed #32901 -- Optimized BaseForm.__getitem__(). | Chris Jerdonek | |
| 2021-06-28 | Fixed #32807 -- Fixed JSONField crash when redisplaying None values. | Dan Strokirk | |
| Thanks to Alex Hill for the initial patch. | |||
| 2021-06-22 | Refs #32338 -- Removed 'for ="..."' from RadioSelect's <label>. | David Smith | |
| This improves accessibility for screen reader users. Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com> | |||
| 2021-06-07 | Fixed #32821 -- Updated os.scandir() uses to use a context manager. | Chris Jerdonek | |
| 2021-05-12 | Refs #32738 -- Added sanitize_strftime_format() to replace datetime_safe. | Nick Pope | |
| 2021-04-01 | Fixed #32316 -- Deferred accessing __file__. | William Schwartz | |
| Deferred accessing the module-global variable __file__ because the Python import API does not guarantee it always exists—in particular, it does not exist in certain "frozen" environments. The following changes advanced this goal. Thanks to Carlton Gibson, Tom Forbes, Mariusz Felisiak, and Shreyas Ravi for review and feedback. | |||
| 2021-01-27 | Improved performance of django.forms.ChoiceWidget.optgroups(). | David Smith | |
| 2021-01-26 | Fixed #32347 -- Made ModelChoiceField include the value in ValidationError ↵ | Jerin Peter George | |
| for invalid_choice. | |||
| 2021-01-19 | Refs #32365 -- Allowed use of non-pytz timezone implementations. | Paul Ganssle | |
| 2021-01-19 | Removed unnecessary empty dict creation in ChoiceWidget.create_option(). | David Smith | |
| build_atttrs() already creates an empty dict if extra_attrs is None. | |||
