summaryrefslogtreecommitdiff
path: root/django/forms/widgets.py
AgeCommit message (Collapse)Author
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
2013-07-31Fixed #20649 -- Allowed blank field display to be defined in the initial ↵Alex Couper
list of choices.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-06-29Advanced deprecation warnings for Django 1.7.Aymeric Augustin
2013-06-19Removed several unused imports.Aymeric Augustin
2013-05-17Replaced an antiquated pattern.Aymeric Augustin
Thanks Lennart Regebro for pointing it out.
2013-04-13Fixed #4592: Made CheckboxSelectMultiple more like RadioSelectBaptiste Mispelon
I refactored RadioSelect and CheckboxSelectMultiple to make them inherit from a base class, allowing them to share the behavior of being able to iterate over their subwidgets. Thanks to Matt McClanahan for the initial patch and to Claude Paroz for the review.
2013-04-13Fixed #4117: Apply id attribute to the outer <ul> of RadioSelectBaptiste Mispelon
2013-04-13Fixed #19874: Apply id attribute to the outer <ul> of CheckboxSelectMultipleBaptiste Mispelon
2013-03-04Fixed #19464 -- Eased customization of ClearableFileInput's link markupClaude Paroz
Thanks rubyruy for the report and the patch.
2013-02-23Fixed #19686 -- Added HTML5 number input typeClaude Paroz
Thanks Simon Charette for his help on the patch. Refs #16630.
2013-01-28Added HTML5 url input typeClaude Paroz
Refs #16630.
2013-01-28Added HTML5 email input typeClaude Paroz
Refs #16630.
2013-01-25Moved has_changed logic from widget to form fieldClaude Paroz
Refs #16612. Thanks Aymeric Augustin for the suggestion.
2013-01-09Fixed #19581 -- ensure unique html ids with CheckboxSelectMultiple widgetsLoic Raucy
ID check is now done the same way as MultipleHiddenInput.
2012-12-31Fixed #19537 -- Made CheckboxInput._has_changed handle 'False' stringClaude Paroz
Thanks dibrovsd@gmail.com for the report.
2012-11-05Fixed #8627 -- Prevented textareas to swallow first newline contentClaude Paroz
Browsers consider the first newline in textareas as some display artifact, not real content. Hence they are not sending it back to the server. If we want to keep initial newlines, we have to add one when we render the textarea. Thanks bastih for the report and initial patch.
2012-10-26Fixed #16820 -- Treated '0' value as True for checkbox inputsClaude Paroz
Thanks Dan Fairs for the report and the initial patch.
2012-09-10Document and test 'type' usage in Widget attrsClaude Paroz
Refs #16630.
2012-09-07Fixed #17888 -- no longer silence exceptions inside of check_test. Thanks to ↵Alex Gaynor
brutasse for the patch.
2012-08-18Fixed #18791: [py3] Double import of six in django.forms.widgetsAlexey Boriskin
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
* Renamed the __unicode__ methods * Applied the python_2_unicode_compatible decorator * Removed the StrAndUnicode mix-in that is superseded by python_2_unicode_compatible * Kept the __unicode__ methods in classes that specifically test it under Python 2
2012-08-07[py3] Ported django.utils.encoding.Aymeric Augustin
* Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str.
2012-08-07[py3] Fixed access to dict keys/values/items.Aymeric Augustin
2012-08-06Fixed #15754 -- avoid recursively computing the tree of media widgets more ↵Alex Gaynor
times than is necessary for a wiget
2012-07-22[py3] Updated urllib/urllib2/urlparse imports.Aymeric Augustin
Lots of functions were moved. Use explicit imports in all cases to keey it easy to identify where the functions come from.
2012-07-22[py3] Replaced basestring by six.string_types.Aymeric Augustin
2012-07-22[py3] Used six.with_metaclass wherever necessary.Aymeric Augustin