summaryrefslogtreecommitdiff
path: root/django/forms
AgeCommit message (Collapse)Author
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
2016-09-22Fixed #27186 -- Fixed model form default fallback for MultiWidget, ↵Tim Graham
FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. Thanks Matt Westcott for the review.
2016-09-21Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 ↵Jon Dufresne
boolean syntax.
2016-09-16Fixed #27235 -- Removed some usage of mutable default arguments.Chris Lamb
2016-09-03Replaced smart_* by force_* calls whenever possibleClaude Paroz
The smart_* version should only be used when a lazy string should keep its lazy status.
2016-09-01Refs #27039 -- Fixed regression with field defaults in prefixed forms.Alex Hill
2016-08-24Fixed #27039 -- Fixed empty data fallback to model field default in model forms.Tim Graham
2016-08-18Fixed #27068 -- Unified form field initial data retrieval.Jon Dufresne
2016-08-12Made BoundField.initial use cached_property.Jon Dufresne
Follow up to fab46ce6f5a0a58c4e5e39c9e5e412702beb4a64.
2016-08-12Fixed #27037 -- Prevented required attribute on ClearableFileInput when ↵Jon Dufresne
initial data exists.
2016-08-10Fixed #26844 -- Made formset's validate_min validation ignore empty forms.Andrew Nester
2016-08-09Fixed #26905 -- Allowed using MultiValueDict-like objects as form data.Marcin Nowak
2016-08-08Fixed #27002 -- Prevented double query when rendering ModelChoiceField.Alex Hill
2016-08-06Fixed #27015 -- Prevented HTML-invalid minlength/maxlength on hidden inputsClaude Paroz
2016-08-04Fixed #26928 -- Changed forms' checked attribute to HTML5 boolean style.Jon Dufresne
2016-08-03Fixed #27001 -- Fixed a query count regression in ModelChoiceField with ↵Alex Hill
RadioSelect.
2016-08-01Fixed #26927 -- Made subwidget iteration pass disabled and required attributes.Jon Dufresne
2016-07-30Fixed #26970 -- Fixed crash with disabled ModelMultipleChoiceField.Tim Graham
2016-07-27Fixed #26917 -- Fixed crash in disabled ModelChoiceFields.Tim Graham
Partially reverted refs #25532 to fix a regression in Django 1.10. This reintroduces a crash for disabled forms.JSONField (refs #26949), however, that issue is also present on Django 1.9. Thanks Ryan Schave for the test.
2016-07-14Fixed #26821 -- Fixed forms.Email/URLField crash on None value.Priy