| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-11-11 | [5.1.x] Updated validate_slug regular expression in form validation docs. | antoliny0919 | |
| Outdated since 014247ad1922931a2f17beaf6249247298e9dc44. Backport of 63dbe30d3363715deaf280214d75b03f6d65a571 from main. | |||
| 2024-11-06 | [5.1.x] Fixed #35889 -- Corrected reference of default widgets in "Styling ↵ | antoliny0919 | |
| widget instance" docs. Backport of 18b3a9dd395278232354a4f2507660a4f849c6eb from main. | |||
| 2024-11-05 | [5.1.x] Fixed #35880 -- Removed invalid example in form Field.required docs ↵ | antoliny0919 | |
| due to CharField.strip. CharField.strip was introduced in 11cac1bd8ef7546ca32d9969d4348bf412dc6664, and is True by default, meaning the previous example of " " raised a ValidationError. Backport of 72de38239fdc97751e1e4ed245c7073c31bbd28a from main. | |||
| 2024-11-04 | [5.1.x] Made minor edits to form fields docs. | antoliny0919 | |
| Backport of 4fcbdb11b114bc4d2dc50663f8053de2f18c0770 from main. | |||
| 2024-10-30 | [5.1.x] Fixed #35873 -- Corrected Form.as_table() call in form docs. | antoliny0919 | |
| Backport of 8f3dee1dfdc4242348c6cd6ead1c359cda78c2b5 from main. | |||
| 2024-10-29 | [5.1.x] Fixed #35871 -- Corrected example on altering the base_fields ↵ | antoliny0919 | |
| attribute in forms docs. Backport of 738e0601d597d4b6bee0000f645994495af984d8 from main. | |||
| 2024-08-05 | [5.1.x] Used :pypi: role in docs where appropriate. | Mariusz Felisiak | |
| Backport of 304d25667433a59409e334a93acaaa9201840508 from main. | |||
| 2024-05-30 | [5.1.x] Made cosmetic edits to code snippets reformatted with blacken-docs. | Mariusz Felisiak | |
| Backport of 0f694ce2ebce01356d48302c33c23902b4777537 from main. | |||
| 2024-04-26 | Fixed #20744 -- Removed hint that arbitrary kwargs are allowed when creating ↵ | Adam Zapletal | |
| forms.Fields. | |||
| 2023-12-30 | Fixed #35069 -- Fixed typo in docs/ref/forms/api.txt. | Salvo Polizzi | |
| 2023-11-29 | Refs #25778 -- Updated some links and references to HTTPS. | Adam Johnson | |
| 2023-11-28 | Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting. | Mariusz Felisiak | |
| This allows early adoption of the new default "https". | |||
| 2023-11-25 | Refs #34380 -- Improved docs for forms.URLField.assume_scheme. | Adam Johnson | |
| 2023-11-17 | Refs #32819 -- Established relationship between form fieldsets and their ↵ | David Smith | |
| help text. This adds aria-describedby for widgets rendered in a fieldset such as radios. aria-describedby for these widgets is added to the <fieldset> element rather than each <input>. | |||
| 2023-11-16 | Refs #32819 -- Used auto_id instead of id_for_label as unique identifier for ↵ | David Smith | |
| 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>`. | |||
| 2023-10-25 | Added missing pycon directives in various docs. | Mariusz Felisiak | |
| 2023-09-18 | Removed versionadded/changed annotations for 4.2. | Mariusz Felisiak | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2023-08-30 | Fixed #31262 -- Added support for mappings on model fields and ↵ | Nick Pope | |
| ChoiceField's choices. | |||
| 2023-08-01 | Fixed #32820 -- Added aria-invalid="true" to fields with errors. | Gregor Jerše | |
| Co-authored-by: Demetris Stavrou <demestav@gmail.com> Co-authored-by: David Smith <smithdc@gmail.com> | |||
| 2023-07-18 | Added reference to TypedChoiceField in ChoiceField docs. | David Sanders | |
| 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-07-03 | Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and ↵ | Mariusz Felisiak | |
| URLValidator. Thanks Seokchan Yoon for reports. | |||
| 2023-06-16 | Fixed #34473 -- Fixed step validation for form fields with non-zero minimum ↵ | Jacob Rief | |
| value. | |||
| 2023-06-09 | Fixed #23049 -- Added %a and %A support to Date.strftime. | sarahboyce | |
| This enables the admin to display the day as locale's abbreviated/full name if %a/%A is used in the date format. | |||
| 2023-04-28 | Fixed #34380 -- Allowed specifying a default URL scheme in forms.URLField. | Coen van der Kamp | |
| This also deprecates "http" as the default scheme. | |||
| 2023-04-03 | Fixed #34431 -- Improved Date/DateTimeField/TimeField.input_formats docs. | Edison Wang | |
| 2023-03-24 | Fixed typos in docs/ref/forms/renderers.txt. | Mariusz Felisiak | |
| 2023-03-24 | Fixed #34077 -- Added form field rendering. | David Smith | |
| 2023-03-21 | Fixed #34388 -- Allowed using choice enumeration types directly on model and ↵ | T. Franzel | |
| form fields. | |||
| 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-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-18 | Refs #32339 -- Deprecated transitional form renderers. | Mariusz Felisiak | |
| 2023-01-17 | Refs #32339 -- Changed default form and formset rendering style to div-based. | Mariusz Felisiak | |
| Per deprecation timeline. This also removes "django/forms/default.html" and "django/forms/formsets/default.html" templates. | |||
| 2023-01-17 | Refs #31026 -- Removed ability to return string when rendering ↵ | Mariusz Felisiak | |
| ErrorDict/ErrorList. Per deprecation timeline. | |||
| 2023-01-17 | Refs #32873 -- Removed settings.USE_L10N per deprecation timeline. | Mariusz Felisiak | |
| 2023-01-17 | Removed versionadded/changed annotations for 4.1. | Mariusz Felisiak | |
| 2022-12-07 | Refs #32339 -- Updated Form API docs to prefer as_div() output style. | David Smith | |
| 2022-08-09 | Fixed #33842 -- Used :source: role for links to repo files on GitHub. | Ramil Yanbulatov | |
| 2022-08-06 | Fixed typo in docs/ref/forms/renderers.txt. | Mariusz Felisiak | |
| Thanks Josh for the report. | |||
| 2022-06-03 | Fixed documentation of Widget.id_for_label() empty return value. | Swann | |
| 2022-05-17 | Removed versionadded/changed annotations for 4.0. | Carlton Gibson | |
| 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-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-05-03 | Fixed #33658 -- Doc'd ModelChoiceField.blank attribute. | Alokik Vijay | |
| Thanks Mariusz Felisiak for reviewing. | |||
| 2022-04-27 | Refs #32339 -- Allowed renderer to specify default form and formset templates. | Carlton Gibson | |
| Co-authored-by: David Smith <smithdc@gmail.com> | |||
