| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-11-16 | [5.0.x] Refs #32819 -- Used auto_id instead of id_for_label as unique ↵ | David Smith | |
| identifier for the field. `id_for_label` is blank for widgets with multiple inputs such as radios and multiple checkboxes. Therefore , `help_text` for fields using these widgets cannot currently be associated using `aria-describedby`. `id_for_label` is being used as a guard to avoid incorrectly adding `aria-describedby` to those widgets. This change uses `auto_id` as the unique identified for the fields `help_text`. A guard is added to avoid incorrectly adding `aria-describedby` to inputs by checking the widget's `use_fieldset` attribute. Fields rendered in a `<fieldset>` should have `aria-describedby` added to the `<fieldset>` and not every `<input>`. Backport of 292f1ea90f90ff140617299a25884c8fda24aa64 from main | |||
| 2023-10-30 | [5.0.x] Fixed typo in docs/topics/forms/index.txt. | Mariusz Felisiak | |
| Backport of 46df3ab244e1688bd186f0bfbfea6a354097a910 from main | |||
| 2023-08-30 | Fixed #31262 -- Added support for mappings on model fields and ↵ | Nick Pope | |
| ChoiceField's choices. | |||
| 2023-08-23 | Improved formset docs by using a set instead of a list in the custom ↵ | Luca Allulli | |
| validation example. | |||
| 2023-07-22 | Fixed formatting typo in docs/topics/forms/index.txt. | Carlton Gibson | |
| 2023-07-06 | Fixed #32819 -- Established relationship between form fields and their help ↵ | Gregor Jerše | |
| text. Thanks Nimra for the initial patch. Thanks Natalia Bidart, Thibaud Colas, David Smith, and Mariusz Felisiak for reviews. | |||
| 2023-03-24 | Fixed #34077 -- Added form field rendering. | David Smith | |
| 2023-03-01 | Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. | django-bot | |
| 2023-02-28 | Refs #34140 -- Corrected rst code-block and various formatting issues in docs. | Joseph Victor Zammit | |
| 2023-02-15 | Refs #32339 -- Doc'd setting a form's template_name is recomended over using ↵ | David Smith | |
| as_* methods. | |||
| 2023-02-15 | Refs #32339 -- Updated docs to reflect default <div> style form rendering in ↵ | David Smith | |
| Django 5.0. Follow up to 98756c685ee173bbd43f21ed0553f808be835ce5. | |||
| 2023-02-15 | Refs #32339 -- Doc'd BaseFormSet.as_div() | David Smith | |
| 2023-02-10 | Refs #34140 -- Applied rst code-block to non-Python examples. | Carlton Gibson | |
| Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews. | |||
| 2023-01-17 | Removed versionadded/changed annotations for 4.1. | Mariusz Felisiak | |
| 2022-11-24 | Adjusted BaseFormSet.get_form_kwargs example in docs. | Riccardo Magliocchetti | |
| 2022-08-30 | Refs #30947 -- Changed tuples to lists where appropriate. | Alex Morega | |
| 2022-08-08 | Fixed #31721 -- Allowed ModelForm meta to specify form fields. | Kamil Turek | |
| 2022-05-31 | Fixed docs build with sphinxcontrib-spelling 7.5.0+. | Mariusz Felisiak | |
| sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked. | |||
| 2022-05-17 | Removed versionadded/changed annotations for 4.0. | Carlton Gibson | |
| 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-05 | Fixed #32339 -- Added div.html form template. | David Smith | |
| 2022-05-04 | Refs #32339 -- Restructured outputting HTML form docs. | Carlton Gibson | |
| In the topic doc, promoted the Reusable form templates section. In the reference, re-grouped and promoted the default __str__() rendering path, and then gathered the various as_*() helpers subsequently. Thanks to David Smith for review. | |||
| 2022-04-28 | Removed hyphen from pre-/re- prefixes. | David | |
| "prepopulate", "preload", and "preprocessing" are already in the spelling_wordlist. This also removes hyphen from double "e" combinations with "pre" and "re", e.g. preexisting, preempt, reestablish, or reenter. See also: - https://ahdictionary.com/word/search.html?q=rerun - https://ahdictionary.com/word/search.html?q=recreate - https://ahdictionary.com/word/search.html?q=predetermined - https://ahdictionary.com/word/search.html?q=reuse - https://ahdictionary.com/word/search.html?q=reopening | |||
| 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-03-30 | Refs #32339 -- Added use_fieldset to Widget. | David | |
| 2022-03-17 | Added missing backticks to function names. | Mariusz Felisiak | |
| 2022-02-10 | Fixed #29490 -- Added support for object-based Media CSS and JS paths. | Claude Paroz | |
| 2022-02-03 | Improved example of using a custom queryset in Model formsets docs. | Mike Lissner | |
| 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-12 | Alphabetized field attributes in form topic docs. | David Smith | |
| 2021-12-28 | Avoided counting attributes and methods in docs. | Mariusz Felisiak | |
| 2021-09-22 | Fixed #33128 -- Corrected possessive 's usage in FormSet docs. | Joel Farthing | |
| 2021-09-20 | Removed versionadded/changed annotations for 3.2. | Mariusz Felisiak | |
| 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-08-03 | Fixed #32984 -- Allowed customizing a deletion field widget in formsets. | Ties Jan Hefting | |
| 2021-07-29 | Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵ | David Smith | |
| appropriate. | |||
| 2021-07-15 | Fixed #32905 -- Added CSS class for non-form errors of formsets. | Ties Jan Hefting | |
| 2021-05-17 | Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS. | Nick Pope | |
| 2021-01-14 | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | |
| 2020-12-23 | Removed forms-MAX_NUM_FORMS POST data in docs | Jon Dufresne | |
| The field is ignored server-side and only exists as a client-side convenience. Removing it slightly simplifies the documentation and avoids some distractions. Added note:: for MIN_NUM_FORMS/MAX_NUM_FORMS in Understanding the management form section. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2020-12-15 | Added backticks to code literals in various docs. | Jon Dufresne | |
| 2020-11-17 | Fixed #32199 -- Doc'd JSONField in ModelForm field mapping. | sage | |
| 2020-11-05 | Fixed #22276 -- Fixed crash when formset management form is invalid. | Jon Dufresne | |
| Co-authored-by: Patryk Zawadzki <patrys@room-303.com> | |||
| 2020-10-26 | Corrected output of rendered formset example in model formsets docs. | Jon Dufresne | |
| 2020-09-28 | Fixed #32042 -- Improved error messages for the number of submitted forms in ↵ | meghanabhange | |
| formsets. | |||
| 2020-08-18 | Fixed #27679 -- Doc'd that empty formsets display extra + min_num forms. | David Smith | |
| 2020-06-24 | Fixed #9061 -- Allowed FormSets to disable deleting extra forms. | David Smith | |
| Thanks to Dan Ward for the initial patch. | |||
| 2020-06-17 | Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments. | David Smith | |
| 2020-06-05 | Fixed #20347 -- Allowed customizing the maximum number of instantiated forms ↵ | David Smith | |
| in formsets. Co-authored-by: ethurgood <ethurgood@gmail.com> | |||
