| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-05-12 | Fixed E128, E741 flake8 warnings. | Mariusz Felisiak | |
| 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-05-06 | Simplified Widget.get_context() a bit. | Jon Dufresne | |
| 2020-04-10 | Fixed #13009 -- Added BoundField.widget_type property. | David Smith | |
| 2020-03-24 | Fixed #7664 -- Allowed customizing suffixes of MultiWidget.widgets' names. | David Smith | |
| 2020-03-12 | Fixed #8760 -- Changed ModelMultipleChoiceField to use invalid_list as a ↵ | David Smith | |
| error message key. | |||
| 2020-02-13 | Fixed #30261 -- Prevented Form._html_output() from mutating errors if hidden ↵ | Hasan Ramezani | |
| fields have errors. | |||
| 2020-02-05 | Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect ↵ | Hasan Ramezani | |
| for fields with blank=False. | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2020-01-08 | Fixed #31118 -- Made FileInput to avoid the required attribute when initial ↵ | Shubham singh | |
| data exists. | |||
| 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. | |||
| 2019-12-23 | Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ↵ | Jon Dufresne | |
| ChoiceWidget.create_option(). | |||
| 2019-12-17 | Fixed #31086 -- Improved error message for admin model inlines with more ↵ | Shubham singh | |
| than one foreign key to the same parent. | |||
| 2019-12-11 | Fixed #31080 -- Removed redundant type="text/javascript" attribute from ↵ | Jon Dufresne | |
| <script> tags. | |||
| 2019-12-10 | Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs. | Peter Andersen | |
| 2019-11-28 | Refs #23919 -- Replaced super(...) with super() in metaclasses. | Jon Dufresne | |
| 2019-11-21 | Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required ↵ | Carlton Gibson | |
| SelectDateWidget." This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b. The initial issue was incorrect. Django 2.2, and before, did not generate invalid HTML as reported. With f03821 in place invalid HTML was generated. Thanks to Kevin Brown for follow-up report and investigation. | |||
| 2019-11-07 | Refs #29983 -- Added support for using pathlib.Path in all settings. | Jon Dufresne | |
| 2019-10-29 | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | |
| 2019-10-11 | Fixed #30014 -- Fixed ModelChoiceField validation when initial value is a ↵ | Etienne Chové | |
| model instance. Thanks Carlton Gibson for reviews. | |||
| 2019-10-08 | Fixed #30839 -- Fixed Field.__deepcopy__() so forms don't share error messages. | Hasan Ramezani | |
| 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-07-23 | Improved error message when index in __getitem__() is invalid. | Jon Dufresne | |
| 2019-06-28 | Fixed #30400 -- Improved typography of user facing strings. | Jon Dufresne | |
| Thanks Claude Paroz for assistance with translations. | |||
| 2019-06-26 | Fixed #30578 - Made SelectDateWidget respect a custom date format when ↵ | Shubham Bhagat | |
| USE_L10N is disabled. | |||
| 2019-06-20 | Added missing form argument in modelform_factory() docstring. | Tobias Kunze | |
| 2019-06-04 | Fixed #30534 -- Fixed overriding a field's default in ModelForm.cleaned_data(). | RobertAKARobin | |
| 2019-05-08 | Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget. | Hasan Ramezani | |
| placeholder is required for "select" with "required" attribute. | |||
| 2019-04-24 | Removed unnecessary assignments in various code. | Jon Dufresne | |
| 2019-04-18 | Fixed typos in docs, comments, and exception messages. | Ville Skyttä | |
| 2019-04-03 | Fixed #30302 -- Fixed forms.model_to_dict() result if empty list of fields ↵ | belegnar | |
| is passed. | |||
| 2019-03-21 | Fixed #29956 -- Allowed overriding an order field widget in formsets. | Hasan Ramezani | |
| 2019-03-05 | Fixed #29459 -- Initialized form data/files with empty MultiValueDicts. | Andra Denis Ionescu | |
| 2019-02-27 | Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient. | Matthias Kestenholz | |
| Thanks gasman for the tests, and codingjoe and timgraham for the review. | |||
| 2019-02-09 | Fixed #30153 -- Fixed incorrect form Media asset ordering after three way merge. | Matthias Kestenholz | |
| Delaying merging assets as long as possible avoids introducing incorrect relative orderings that cause a broken final result. | |||
| 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. | |||
| 2019-01-02 | Used 4 space hanging indent for dictionaries. | Tim Graham | |
| Thanks Mariusz Felisiak for auditing. | |||
| 2019-01-01 | Fixed #29981 -- Fixed inline formsets with a OnetoOneField primary key that ↵ | Patrik Sletmo | |
| uses to_field. | |||
| 2018-11-14 | Fixed #17210 -- Made NullBooleanSelect use unknown/true/false as query data. | Basil Dubyk | |
| 2018-08-29 | Refs #29689 -- Moved FilePathField choices sorting outside the loop. | Sergey Fedoseev | |
| 2018-08-21 | Fixed #29696 -- Prevented BaseModelFormSet.initial_form_count()'s from ↵ | Jon Dufresne | |
| treating data={} as unbound. | |||
| 2018-08-20 | Fixed #29689 -- Improved performance of FileSystemStorage.listdir() and ↵ | Federico Bond | |
| FilePathField with os.scandir(). | |||
| 2018-08-18 | Refs #29426 -- Made UUIDField render values with dashes. | Tim Graham | |
| 2018-08-08 | Fixed #29623 -- Fixed translation failure of DurationField's "overflow" ↵ | Tim Graham | |
| error message. | |||
| 2018-07-30 | Fixed #26819 -- Fixed BaseModelFormSet.validate_unique() "unhashable type: ↵ | Demur Nodia | |
| list" crash. | |||
| 2018-06-07 | Fixed #29474 -- Simplified BaseInlineFormset.save_new(). | Tim Graham | |
| 2018-04-23 | Refs #28312 -- Added an optimized __bool__() to ModelChoiceIterator. | François Freitag | |
| COUNT is more expensive than EXISTS; use the latter when possible. | |||
| 2018-04-23 | Fixed #28312 -- Made ModelChoiceIterator.__len__() more memory-efficient. | François Freitag | |
| Instead of loading all QuerySet results in memory, count the number of entries. This adds an extra query when list() or tuple() is called on the choices (because both call __len__() then __iter__()) but uses less memory since the QuerySet results won't be cached. In most cases, the choices will only be iterated on, meaning that __len__() won't be called and only one query will be executed. | |||
