summaryrefslogtreecommitdiff
path: root/django/forms/widgets.py
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-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-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] 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] 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.
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-11-22Fixed #27250 -- Removed 'for ="..."' from CheckboxSelectMultiple's <label>.Diego Martín
2016-11-06Fixed typo in django/forms/widgets.py comment.Leila20
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-08-24Fixed #27039 -- Fixed empty data fallback to model field default in model forms.Tim Graham
2016-08-12Fixed #27037 -- Prevented required attribute on ClearableFileInput when ↵Jon Dufresne
initial data exists.
2016-08-09Fixed #26905 -- Allowed using MultiValueDict-like objects as form data.Marcin Nowak
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-06-18Refs #15667 -- Fixed crash when indexing RadioFieldRenderer with ↵Tim Graham
ModelChoiceIterator. Regression in 86573861a95e5a47dc7ff906443117d75b73dca1
2016-04-28Refs #15667 -- Removed choices argument from some RendererMixin methods.Tim Graham
RendererMixin will soon be removed but this removal and the corresponding test changes stand on their own.
2016-04-23Fixed #26533 -- Renamed Widget._format_value() to format_value().Tim Graham
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-02-15Fixed #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2Berker Peksag
2016-02-02Fixed #25731 -- Removed unused choices kwarg for Select.render()jpic
2016-01-25Refs #25731 -- Removed unused MultipleHiddenInput choicesjpic
2015-12-10Fixed #21221 -- Made form Media and static template tag use staticfiles if ↵Johannes Hoppe
installed.
2015-10-19Fixed #25567 -- Removed obsolete MEDIA_URL fallback in Media.absolute_pathClaude Paroz
2015-09-23Fixed #25410 -- Fixed empty ClearableFileInput crash on Python 2.Tim Graham
Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2" and added a regression test. This reverts commit 5c412dd8a724b263489c1bd7a2fea381460665d7.
2015-07-15Fixed #25124 -- Eased customization of SelectDateWidget subwidget.George Brocklehurst
2015-07-14Fixed #25085 -- Overrode Select widget's __deepcopy__()Eric Carrillo
2015-06-11Allowed easier extendability of ChoiceFieldRenderer.TMFGravyHands
2015-05-13Removed unnecessary arguments in .get method callsPiotr Jakimiak
2015-05-06Fixed #24497 -- Added Widget.supports_microseconds attributewdmgsm
2015-05-04Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2Antonio Garcia-Dominguez
2015-04-18Removed cases of six.iter* wrapped in a list()Curtis Maloney
There's absolutely no advantage [and a mild performance hit] to using six.iter* in these cases.
2015-03-27Fixed #24469 -- Refined escaping of Django's form elements in non-Django ↵Moritz Sichert
templates.
2015-03-18Refs #24469 -- Fixed escaping of forms, fields, and media in non-Django ↵Moritz Sichert
templates.
2015-03-01Fixed #17401 -- Made SelectDateWidget.render reflect wrong valueClaude Paroz
Thanks Marcin Wrobel for the initial patch.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-27Fixed #24219 -- Moved SelectDateWidget together with the other widgetsLoic Bistuer
and deprecated django.forms.extras. Thanks Berker Peksag and Tim Graham for the reviews.
2015-01-17Removed django.utils.datastructures.MergeDict per deprecation timeline; refs ↵Tim Graham
#18659.
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".