| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-11-28 | [5.0.x] Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting. | Mariusz Felisiak | |
| This allows early adoption of the new default "https". Backport of a4931cd75a1780923b02e43475ba5447df3adb31 from main. | |||
| 2023-11-25 | [5.0.x] Refs #34380 -- Improved docs for forms.URLField.assume_scheme. | Adam Johnson | |
| Backport of 0203771b626c27c1af24cdeb0e425ccca3d19ad5 from main | |||
| 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-25 | [5.0.x] Added missing pycon directives in various docs. | Mariusz Felisiak | |
| Backport of 718b32c6918037cfc746d7867333d79a3c887a8c from main | |||
| 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-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 #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 -- 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-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-05-17 | Removed versionadded/changed annotations for 4.0. | Carlton Gibson | |
| 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-03 | Fixed #33658 -- Doc'd ModelChoiceField.blank attribute. | Alokik Vijay | |
| Thanks Mariusz Felisiak for reviewing. | |||
| 2021-12-28 | Avoided counting attributes and methods in docs. | Mariusz Felisiak | |
| 2021-12-02 | Fixed #33334 -- Alphabetized form and model fields in reference docs. | Shivam Durgbuns | |
| 2021-01-26 | Fixed #32347 -- Made ModelChoiceField include the value in ValidationError ↵ | Jerin Peter George | |
| for invalid_choice. | |||
| 2021-01-14 | Refs #8760 -- Removed "list" message for ModelMultipleChoiceField per ↵ | Mariusz Felisiak | |
| deprecation timeline. | |||
| 2021-01-14 | Removed versionadded/changed annotations for 3.1. | Mariusz Felisiak | |
| 2020-12-15 | Added backticks to code literals in various docs. | Jon Dufresne | |
| 2020-10-17 | Fixed #32110 -- Doc'd and tested enumerations for ChoiceField.choices. | Claude Paroz | |
| 2020-10-08 | Fixed #23681, Fixed #27445 -- Doc'd setting choices for NullBooleanField ↵ | Jacob Walls | |
| widgets. Thanks to David Smith for investigation and review. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2020-09-25 | Fixed #28009 -- Doc'd empty_value for CharField subclasses. | David Smith | |
| 2020-09-25 | Fixed empty values of forms.JSONField and forms.UUIDField in docs. | David Smith | |
| 2020-09-25 | Fixed typo and indentation in docs/ref/forms/fields.txt. | Mariusz Felisiak | |
| 2020-09-21 | Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator ↵ | Mariusz Felisiak | |
| changes. | |||
| 2020-09-02 | Refs #11390 -- Clarified dual-calling of ChoiceField.choices callable. | Carlton Gibson | |
| 2020-08-21 | Fixed #31906 -- Fixed typo in docs/ref/forms/fields.txt. | Ninad Kulkarni | |
| 2020-07-13 | Fixed #21528 -- Added note about filtering form field's queryset based on ↵ | Caio Ariede | |
| instance to admin docs. | |||
| 2020-06-03 | Preferred usage of among/while to amongst/whilst. | David Smith | |
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-04-28 | Changed django.forms.ValidationError imports to ↵ | François Freitag | |
| django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-03-12 | Fixed #8760 -- Changed ModelMultipleChoiceField to use invalid_list as a ↵ | David Smith | |
| error message key. | |||
| 2020-01-07 | Fixed #15982 -- Added DATE_INPUT_FORMATS to forms.DateTimeField default ↵ | Claude Paroz | |
| input formats. | |||
| 2020-01-06 | Fixed #11385 -- Made forms.DateTimeField accept ISO 8601 date inputs. | Claude Paroz | |
| Thanks José Padilla for the initial patch, and Carlton Gibson for the review. | |||
| 2020-01-06 | Corrected notes about default date/datetime/time input formats. | Claude Paroz | |
| 2019-12-23 | Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ↵ | Jon Dufresne | |
| ChoiceWidget.create_option(). | |||
| 2019-12-23 | Refs #30998 -- Doc'd ModelChoiceField/ModelMultipleChoiceField.iterator ↵ | Jon Dufresne | |
| attributes and ModelChoiceIterator. | |||
| 2019-11-11 | Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file ↵ | Hasan Ramezani | |
| to access raw image data. | |||
| 2019-10-25 | Refs #30908 -- Fixed the empty value of forms.FilePathField in docs. | Mariusz Felisiak | |
| 2019-09-06 | Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵ | Tobias Kunze | |
| involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review. | |||
