| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-12-19 | Fixed #36618 -- Corrected error message in BaseForm.add_error(). | Nilesh Kumar Pahari | |
| The error message now correctly states that the error argument is a dictionary. | |||
| 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. | |||
| 2025-03-01 | Applied Black's 2025 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/25.1.0 | |||
| 2025-01-15 | Fixed #35521 -- Allowed overriding BoundField class on fields, forms and ↵ | Matthias Kestenholz | |
| renderers. Thank you Sarah Boyce, Carlton Gibson, Tim Schilling and Adam Johnson for reviews. Co-authored-by: Christophe Henry <contact@c-henry.fr> Co-authored-by: David Smith <smithdc@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Matthias Kestenholz <mk@feinheit.ch> | |||
| 2024-12-10 | Fixed #35988 -- Made BaseForm.full_clean() pass renderer to ErrorDict. | Adam Johnson | |
| 2024-12-05 | Refs #32819 -- Added id to ErrorList class and template. | David Smith | |
| 2024-01-23 | Fixed #32923 -- Refactored out Field._clean_bound_field(). | Syed Waheed | |
| 2023-11-20 | Refs #31026 -- Simplified BaseForm.get_context(). | David Smith | |
| bf.errors returns an ErrorList. Access this directly and avoid creating a new instance in BaseForm.get_context() Calling str() on the ErrorList can also be deferred to when the variable used in the template. | |||
| 2023-01-17 | Refs #31026 -- Removed ability to return string when rendering ↵ | Mariusz Felisiak | |
| ErrorDict/ErrorList. Per deprecation timeline. | |||
| 2023-01-17 | Refs #31026 -- Removed BaseForm._html_output() per deprecation timeline. | Mariusz Felisiak | |
| 2022-11-18 | Fixed #34148 -- Reverted "Fixed #32901 -- Optimized BaseForm.__getitem__()." | Francesco Panico | |
| This reverts commit edde2a069929c93e37835dc3f7c9a229040058e2. Thanks Jan Pieter Waagmeester for the report. | |||
| 2022-10-31 | Used more augmented assignment statements. | Nick Pope | |
| Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | |||
| 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-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 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-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-13 | Fixed #32917 -- Added BaseForm._widget_data_value()/_field_data_value(). | Chris Jerdonek | |
| 2021-07-05 | Fixed #32901 -- Optimized BaseForm.__getitem__(). | Chris Jerdonek | |
| 2020-11-02 | Simplified DeclarativeFieldsMetaclass.__new__() a bit. | Vitaliy Yelnik | |
| 2020-02-13 | Fixed #30261 -- Prevented Form._html_output() from mutating errors if hidden ↵ | Hasan Ramezani | |
| fields have errors. | |||
| 2019-11-28 | Refs #23919 -- Replaced super(...) with super() in metaclasses. | Jon Dufresne | |
| 2019-09-24 | Removed some outdated backwards compatibility imports and misleading comments. | Mads Jensen | |
| EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab. FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0. BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9. EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797. BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef. | |||
| 2019-04-18 | Fixed typos in docs, comments, and exception messages. | Ville Skyttä | |
| 2019-03-05 | Fixed #29459 -- Initialized form data/files with empty MultiValueDicts. | Andra Denis Ionescu | |
| 2019-02-09 | Removed uneeded generator expressions and list comprehensions. | Sergey Fedoseev | |
| 2019-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2018-02-15 | Fixed #28171 -- Added an exception if Form's empty_permitted and ↵ | Herbert Parentes Fortes Neto | |
| use_required_attribute arguments conflict. | |||
| 2018-01-21 | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | |
| 2017-12-26 | Fixed #28930 -- Simplified code with any() and all(). | Дилян Палаузов | |
| 2017-12-11 | Fixed #28874 -- Prevented double escaping of errors on hidden form fields. | Daniil | |
| 2017-12-07 | Fixed #28906 -- Removed unnecessary bool() calls. | Tim Graham | |
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-04-27 | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-04-01 | Fixed #27989 -- Preserved empty QueryDicts for form's data/files args. | Stefan Wehrmeyer | |
| 2017-03-04 | Refs #27795 -- Removed unneeded force_text calls | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-20 | Refs #27656 -- Updated django.forms/http docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-02-07 | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-27 | Refs #23919 -- Used DeclarativeFieldsMetaclass.__prepare__() for tracking ↵ | Tim Graham | |
| form field order. | |||
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-12-27 | Fixed #15667 -- Added template-based widget rendering. | Preston Timmons | |
| Thanks Carl Meyer and Tim Graham for contributing to the patch. | |||
| 2016-08-18 | Fixed #27068 -- Unified form field initial data retrieval. | Jon Dufresne | |
