summaryrefslogtreecommitdiff
path: root/tests/forms_tests/widget_tests
AgeCommit message (Collapse)Author
2017-08-29Fixed #28530 -- Prevented SelectDateWidget from localizing years in output.caleb logan
2017-07-19Fixed #28414 -- Fixed ClearableFileInput rendering as a subwidget of ↵Roman Selivanov
MultiWidget.
2017-06-17Fixed #28176 -- Restored the uncasted option value in ChoiceWidget template ↵Tim Graham
context.
2017-06-17Fixed #28303 -- Prevented localization of attribute values in the DTL ↵Tim Graham
attrs.html widget template.
2017-06-02Fixed #28265 -- Prevented renderer warning on Widget.render() with **kwargs.Jon Dufresne
2017-05-03Fixed #28157 -- Fixed choice ordering in form fields with grouped and ↵Tim Graham
non-grouped options. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-04-24Removed obsolete Widget.format_output() in tests.Tim Graham
Obsolete since b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-04-21Fixed #28075 -- Prevented ChoiceWidget from localizing option values.Jon Dufresne
2017-04-20Fixed #28059 -- Restored class attribute in <ul> of widgets that use ↵Tim Graham
multiple_input.html. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
2017-04-01Fixed #27866 -- Made ChoiceWidget.format_value() return a listClaude Paroz
Thanks Tim Graham for the review.
2017-03-31Fixed #27993 -- Fixed model form default fallback for SelectMultiple.heathervm
2017-03-18Fixed #27724 -- Fixed SelectDateWidget redisplay if a year isn't chosen.Adonys Alea Boffill
2017-03-18Added tests for SelectDateWidget.format_value().Adonys Alea Boffill
2017-03-14Fixed #27920 -- Restored empty RadioSelect choice producing value=""Claude Paroz
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Thanks Tim Graham for the review.
2017-02-07Fixed #5851 -- Allowed specifying different HTML attrs for ↵Mariusz Felisiak
SplitDateTimeWidget subwidgets. Thanks Tim Graham and Nick Pope for review.
2017-02-06Fixed #27805 -- Fixed ClearableFileInput's "Clear" checkbox on model fields ↵Tim Graham
with a default.
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-23Fixed #27759 -- Prevented forms attrs.html template from rendering False attrs.Jon Dufresne
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-01-23Fixed #27761 -- Fixed quote location in multiple_input.html forms templates.Jon Dufresne
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
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-11-22Fixed #27250 -- Removed 'for ="..."' from CheckboxSelectMultiple's <label>.Diego Martín
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
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-12Fixed #27037 -- Prevented required attribute on ClearableFileInput when ↵Jon Dufresne
initial data exists.
2016-08-04Fixed #26928 -- Changed forms' checked attribute to HTML5 boolean style.Jon Dufresne
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-05-14Simplified a ClearableFileInput test.Tim Graham
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-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-29Refs #26022 -- Used context manager version of assertRaisesMessage in tests.Hasan
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-08-31Rewrote form widget tests as proper unittests.Preston Timmons
This is preparation for landing the template-based widget rendering patch and goes a long way to making these tests more useful for future development. The old doctest heritage is strong here.