summaryrefslogtreecommitdiff
path: root/django/forms/widgets.py
AgeCommit message (Collapse)Author
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 "{} {}".
2014-10-27Removed some commented code in the forms Media class.Tim Graham
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-08-29Fixed #21201 -- Improved customization of ClearableFileInput.Vlastimil Zíma
2014-07-28Fixed #23113 -- ChoiceInput.render should take specified attrs into account.Simon Charette
Thanks to Tim Graham for the review.
2014-07-05Fixed #22950 -- Eased markup customization for choice field renderingClaude Paroz
Thanks Patrick Robertson for the report.
2014-05-10Fixed #22502 -- Fixed microseconds/default/form interactionStephen Burrows
Made explicit lack of microsecond handling by built-in datetime form fields. Used that explicitness to appropriately nix microsecond values in bound fields. Thanks Claude Paroz for the review.
2014-03-21Removed warning for Widget.is_hidden property.Tim Graham
refs #22137.
2014-03-21Removed django.forms.widgets.RadioInput per deprecation timeline.Tim Graham
refs #4592.
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
2014-03-01Fixed #22137 -- Made Widget.is_hidden a read-only propertyClaude Paroz
Thanks django at patjack.co.uk for the report and the review.
2014-02-27Fixed #22136 -- Updated comment for Textarea widgetClaude Paroz
Thanks Aymeric Augustin for the suggestion.
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-11-11Fixed #21423 -- Fixed typo in widgets.py.Baptiste Mispelon
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02More attacking E302 violatorsAlex Gaynor
2013-11-02Merge pull request #1848 from rayashmanjr/masterAlex Gaynor
Correct flake8 violation E261
2013-11-02Correct flake8 violation E261Ray Ashman Jr
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-26Fixed up some more flake8 violations (this particular violation still has ↵Alex Gaynor
many occurrences in the tests/ dir so it can't be removed from setup.cfg yet)
2013-10-24Start attacking E231 violationsAlex Gaynor
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-23Fixed E225 pep8 warnings.Tim Graham
2013-10-21Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol
2013-10-17Fixed #21270 -- Fixed E701 pep8 warningsAlasdair Nicol
2013-10-14Fixed #19617 -- Refactored Form metaclasses to support more inheritance ↵Loic Bistuer
scenarios. Thanks apollo13, funkybob and mjtamlyn for the reviews.
2013-10-12Fixed #21173 -- Stopped fixing format for date-based widgets at init timeClaude Paroz
Thanks Marc Tamlyn for the review.
2013-10-11Fixed assorted flake8 errors.Tim Graham
2013-10-10Used "is" for comparisons with None.Tim Graham
2013-09-28Fixed #20931 -- Fixed select widgets nested choice renderingChristopher Babiak
ChoiceFieldRenderer was not rendering nested choices. Added recursion to ChoiceFieldRenderer to take nested choices and render them as <ul>'s.
2013-09-16Fixed #17627 -- Renamed util.py files to utils.pyTim Graham
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.
2013-09-10Fixed #20841 -- Added messages to NotImplementedErrorsGregor MacGregor
Thanks joseph at vertstudios.com for the suggestion.
2013-09-05Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin
2013-08-29Added SplitHiddenDateTimeWidget to django.forms.widgets.__all__Tomer Chachamu
2013-08-13Fixed #20555 -- Make subwidget id attribute availableMatt Johnson
In `BoundField.__iter__`, the widget's id attribute is now passed to each subwidget. A new id_for_label property was added to ChoiceInput.
2013-08-05Fixed #20850 -- Added MultiWidget.needs_multipart_formTim Heap