summaryrefslogtreecommitdiff
path: root/django/forms
AgeCommit message (Collapse)Author
2018-04-02[1.11.x] Fixed #29273 -- Prevented initial selection of empty choice in ↵Claude Paroz
multiple choice widgets. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of f3b69f9757ec03057441ebbd52b7cdbfed31fb32 from master.
2017-12-05[1.11.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.Nick Pope
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of e014f91a70aa3ccdddb363a733c76e35597424fa from master
2017-09-05[1.11.x] Fixed #28555 -- Made CharField convert whitespace-only values to ↵Josh Schneier
the empty_value when strip is enabled. Backport of 48c394a6fc2594891f766293afec8f86d63e1015 from master
2017-08-31[1.11.x] Fixed #27998, #28543 -- Restored logging of ManyToManyField changes ↵Tim Graham
in admin's object history. And prevented ManyToManyField initial data in model forms from being affected by subsequent model changes. Regression in 56a55566a791a11420fe96f745b7489e756fc931. Partial backport of e5bd585c6eb1e13e2f8aac030b33c077b0b70c05 and 15b465c584f49a1d43b6c18796f83521ee4ffc22 from master
2017-08-29[1.11.x] Fixed #28530 -- Prevented SelectDateWidget from localizing years in ↵caleb logan
output. Backport of 9e2bf65d6a5dc3b53db84f4839652f0d154349ee from master
2017-07-19[1.11.x] Fixed #28414 -- Fixed ClearableFileInput rendering as a subwidget ↵Roman Selivanov
of MultiWidget. Backport of d4da39685b5974849c73e4c4dc6e07dfdf21c67a from master
2017-07-14[1.11.x] Fixed #28387 -- Fixed has_changed() for disabled form fields that ↵Srinivas Reddy Thatiparthy
subclass it. Backport of 5debbdfcc84266703191e084914998e38f5f52eb from master
2017-07-06[1.11.x] Fixed #28355 -- Fixed widget rendering of non-ASCII date/time ↵Tim Graham
formats on Python 2.
2017-06-30[1.11.x] Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().Jon Dufresne
field_for_model() now has an additional keyword argument, apply_limit_choices_to, allowing it to continue to be used to create form fields dynamically after ModelForm.__init__() is called. Thanks Tim Graham for the review. Backport of a1be12fe193c8f3de8a0b0820f460a302472375f from master
2017-06-17[1.11.x] Fixed #28176 -- Restored the uncasted option value in ChoiceWidget ↵Tim Graham
template context. Backport of 221e6e18177516ac4ac95e40c344b93d14dd607b from master
2017-06-17[1.11.x] Fixed #28303 -- Prevented localization of attribute values in the ↵Tim Graham
DTL attrs.html widget template. Backport of 3b050fd0d0b8dbf499bdb44ce12fa926298c0bd0 from master
2017-06-02[1.11.x] Fixed #28265 -- Prevented renderer warning on Widget.render() with ↵Jon Dufresne
**kwargs. Backport of 29a518006f7f96186483fa50e249e1c3f21728d5 from master
2017-06-01[1.11.x] Fixed #28242 -- Moved ImageField file extension validation to the ↵Manatsawin Hanmongkolchai
form field. Backport of a0c07d77fc313388c72a17cd59411265069f037f from master
2017-05-03[1.11.x] Fixed #28159 -- Fixed BaseInlineFormSet._construct_form() crash ↵Alexander Kavanaugh
when using save_as_new. Regression in 4a246a02bdcbc13b15480c014f51cb0682af7c1e. Backport of 362fba87c9bb4f88542ba82ce4a732fed2634be7 from master
2017-05-03[1.11.x] Fixed #28157 -- Fixed choice ordering in form fields with grouped ↵Tim Graham
and non-grouped options. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of d302e2c09c281e6b1e187f704f656e5e79e69246 from master
2017-04-28[1.11.x] Fixed #28130 -- Fixed formset min_num validation with initial, ↵Tim Graham
unchanged forms. Regression in f5c6295797b8332134fd89e0209a18a1d1d45e0c. Backport of f04a40491764bdc9a2ebbfc03fa7be424fb3ce63 from master
2017-04-21[1.11.x] Fixed #28075 -- Prevented ChoiceWidget from localizing option values.Jon Dufresne
Backport of 581879a510e58841e5780a5d1fdb4995733d2036 from master
2017-04-20[1.11.x] Fixed #28059 -- Restored class attribute in <ul> of widgets that ↵Tim Graham
use multiple_input.html. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01 Backport of af1f986360dc6bb6e75e960dbc191707541128ac from master
2017-04-17[1.11.x] Fixed #28058 -- Restored empty BoundFields evaluating to True.Tim Graham
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01 Backport of c09bf8d76770d39a4d9545b67598cd05adee281b from master
2017-04-01[1.11.x] Refs #27866 -- Adapted backport for Python 2 compatibilityClaude Paroz
2017-04-01[1.11.x] Fixed #27866 -- Made ChoiceWidget.format_value() return a listClaude Paroz
Thanks Tim Graham for the review. Backport of e487ffd3f0f9931e7c18bfbd47cf1e6b059ddc41 from master.
2017-03-31[1.11.x] Fixed #27993 -- Fixed model form default fallback for SelectMultiple.heathervm
Backport of 7d1e23775344cc3dead03bd4af45f4fdf134b819 from master
2017-03-22[1.11.x] Fixed #27975 -- Fixed crash if ModelChoiceField's queryset=None.James Beith
Regression in 9153d8fbd6385db9f48793662de789fc3d686841. Backport of 216bb2e8fbc3cb37615bbd70edaa73287acdca81 from master
2017-03-21[1.11.x] Refs #27919 -- Changed Widget.get_context() attrs kwarg to an arg.Tim Graham
Backport of 075e93c16a82ba7869a0b2d572e99fdbd0724042 and 93d07701045c242f81396016ab4ae15ba63a55d9 from master
2017-03-21[1.11.x] Refs #27919 -- Passed ChoiceWidget.create_option() kwargs as expected.Tim Graham
Backport of 6ff356e891502f3da20f51299f45f4b95d72edd5 from master
2017-03-15[1.11.x] Refs #27563 -- Fixed ModelChoiceField.__deepcopy__() so forms don't ↵Tim Graham
share a queryset cache. Thanks Luke Benstead for the report Simon Charettes for the fix. Backport of 44f9241c48e28823b140bc4ec7515f5a88b88c32 from master
2017-03-14[1.11.x] Fixed #27920 -- Restored empty RadioSelect choice producing value=""Claude Paroz
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Thanks Tim Graham for the review. Backport of 540ae68a5cc6339c72375fad9b04dc48f3af4c93 from master.
2017-02-20[1.11.x] Refs #23151 -- Removed RegexField's unused error_message parameter.Tim Graham
Should have been removed in b6ea1961eb6816dee4370fb0ebd49dba29478db1. Backport of afcf44c10108141e66a8aef0a3cbc151b1c16855 from master
2017-02-20[1.11.x] Fixed #27850 -- Made RelatedFieldWidgetWrapper call render() of the ↵Collin Anderson
wrapped widget. Backport of fb7e0e01af5364987de7fc95ae4d66e22130f2bc from master
2017-02-06[1.11.x] Fixed #27805 -- Fixed ClearableFileInput's "Clear" checkbox on ↵Tim Graham
model fields with a default. Backport of 4353640ea9495d58fabd0357253b82de3b069408 from master
2017-01-31[1.11.x] Fixed #27758 -- Reallowed AdvancedModelIterator pattern after ↵Jon Dufresne
template widget rendering. Backport of 6d8979f4c2fbfb9fd5db92acd72489cbbcbdd5d1 from master
2017-01-23[1.11.x] Replaced dict() usage with dict literals.Jon Dufresne
Literals are faster and more idiomatic. Backport of 0d74c41981687598d3fa0a7eb9712ce4c387ca19 from master
2017-01-23[1.11.x] Replaced "not var is ..." with "is not" in attrs.html.Jon Dufresne
Backport of f0573aad4befcea969c73fa5f9a624ac22603164 from master
2017-01-23[1.11.x] Fixed #27759 -- Prevented forms attrs.html template from rendering ↵Jon Dufresne
False attrs. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Backport of 5fa390ee81c5a963fc4476e8de6c1e5e1fc57e22 from master
2017-01-23[1.11.x] Fixed #27761 -- Fixed quote location in multiple_input.html forms ↵Jon Dufresne
templates. Backport of 88183117c28a8d669054e9064e7bd4de19ebcd28 from master
2017-01-23[1.11.x] Removed ChoiceWidget.render() as it duplicates parent implementation.Jon Dufresne
Backport of ecd5944666558bbb3a12b0aa0058685a81ce7162 from master
2017-01-13Fixed #27723 -- Set MultiWidget's subwidgets input type from attrs argument.Mariusz Felisiak
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-01-10Fixed #27712 -- Reallowed Input widget's attrs argument to set the input type.Mariusz Felisiak
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-01-06Refs #15667 -- Prevented newlines in attrs.html widget rendering.Dmitry
Removed the trailing newline from widget attrs.html template. The solution may be revisited by fixing refs #9198 but not for Django 1.11. Thanks Dmitry Ivanchenko for the report and Preston Timmons for advice.
2016-12-28Fixed #27370 -- Prevented Select widget from using 'required' with a ↵Josef Rousek
non-empty first value.
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-12-27Fixed #27642 -- Made forms.utils.flatatt() omit 'None' values from attrs.Illia Volochii
2016-12-06Fixed #27416 -- Prevented ModelFormSet from creating objects for invalid PKs ↵Hiroki Kiyohara
in data.
2016-12-02Fixed #27563 -- Moved "apply limit_choices_to" code from BaseModelForm to ↵Jon Dufresne
fields_for_model().
2016-12-01Fixed #27119 -- Cached BaseFormSet.management_form propertyClaude Paroz
Thanks Tim Graham for the review.
2016-11-22Fixed #27250 -- Removed 'for ="..."' from CheckboxSelectMultiple's <label>.Diego Martín
2016-11-11Fixed #27431 -- Prevented disabled form fields from appearing as changed.Kenneth Veldman
2016-11-06Fixed typo in django/forms/widgets.py comment.Leila20
2016-11-06Fixed #27369 -- Prevented widgets from being shared between form field ↵Michal Petrucha
instances.
2016-09-30Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple.Tim Graham