summaryrefslogtreecommitdiff
path: root/tests/forms_tests
AgeCommit message (Collapse)Author
2019-11-21[3.0.x] Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of ↵Carlton Gibson
required SelectDateWidget." This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b. The initial issue was incorrect. Django 2.2, and before, did not generate invalid HTML as reported. With f03821 in place invalid HTML was generated. Thanks to Kevin Brown for follow-up report and investigation. Backport of ee4a19053a32d41cdd79e087b1968980804ce658 from master
2019-10-08[3.0.x] Fixed #30839 -- Fixed Field.__deepcopy__() so forms don't share ↵Hasan Ramezani
error messages. Backport of a28d1b38e55cf588cfaae97de6a575d5c9f90a96 from master
2019-08-07Corrected several typos in string literals and test names.Min ho Kim
2019-07-23Improved error message when index in __getitem__() is invalid.Jon Dufresne
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
Thanks Claude Paroz for assistance with translations.
2019-06-26Fixed #30578 - Made SelectDateWidget respect a custom date format when ↵Shubham Bhagat
USE_L10N is disabled.
2019-06-18Fixed LiveWidgetTests.test_textarea_trailing_newlines() crash on Chrome 75+.Mariusz Felisiak
2019-05-08Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget.Hasan Ramezani
placeholder is required for "select" with "required" attribute.
2019-04-25Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵Jon Dufresne
html.escape()/unescape().
2019-04-13Fixed #30358 -- Removed redundant assertion in ↵Krisjanis Vaiders
FormsUtilsTestCase.test_error_dict_copy().
2019-03-21Used a picklable argument for a subTest.Carlton Gibson
2019-03-21Fixed #29956 -- Allowed overriding an order field widget in formsets.Hasan Ramezani
2019-03-12Simplified forms_tests.tests.test_formsets.Mariusz Felisiak
2019-03-05Fixed #29459 -- Initialized form data/files with empty MultiValueDicts.Andra Denis Ionescu
2019-02-27Fixed #30179 -- Fixed form Media merging when pairwise merging is insufficient.Matthias Kestenholz
Thanks gasman for the tests, and codingjoe and timgraham for the review.
2019-02-09Fixed #30153 -- Fixed incorrect form Media asset ordering after three way merge.Matthias Kestenholz
Delaying merging assets as long as possible avoids introducing incorrect relative orderings that cause a broken final result.
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
Thanks Mariusz Felisiak for auditing.
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-11-14Fixed #17210 -- Made NullBooleanSelect use unknown/true/false as query data.Basil Dubyk
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-08-18Refs #29426 -- Made UUIDField render values with dashes.Tim Graham
2018-08-08Fixed #29623 -- Fixed translation failure of DurationField's "overflow" ↵Tim Graham
error message.
2018-08-01Fixed typos in comments and docs.luz.paz
2018-07-26Refs #29600 -- Added test for datetime_safe usage in ↵Tim Graham
SelectDateWidget.value_from_datadict().
2018-05-09Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage().Morgan Aubert
2018-05-02Fixed #29375 -- Removed empty action attribute on HTML forms.CHI Cheng
2018-04-04Fixed #29284 -- Made ImageField render with accept="image/*"' HTML attribute.safu9
2018-04-02Fixed #29273 -- Prevented initial selection of empty choice in multiple ↵Claude Paroz
choice widgets. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-03-15Fixed #29200 -- Fixed label rendering when using RadioSelect and ↵Tim Graham
CheckboxSelectMultiple with MultiWidget.
2018-03-01Consolidated ModelChoiceField tests.François Freitag
2018-02-15Fixed #28171 -- Added an exception if Form's empty_permitted and ↵Herbert Parentes Fortes Neto
use_required_attribute arguments conflict.
2018-02-02Fixed imports per isort 4.3.1.Tim Graham
Partially reverted 9bcf73d788866bc93f8248cb2e9d601ecbc4b50c.
2018-02-01Fixed imports per isort 4.3.0.Mariusz Felisiak
2018-01-30Fixed #29036 -- Fixed HTML5 required validation on SelectDateWidget if the ↵Vlastimil Zíma
attribute is added by JavaScript. Thanks Tim Graham for the initial patch.
2018-01-30Added tests for SelectDateWidget.value_from_datadict().Tim Graham
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2018-01-20Fixed #29041 -- Changed SelectMultiple's multiple attribute to HTML5 boolean ↵Jon Dufresne
syntax.
2018-01-12Added tests for django.forms.formsets.all_valid().Tim Graham
2018-01-10Fixed #29006 -- Fixed DecimalField.clean() crash on sNaN values.Fabio Bonelli
2018-01-10Reduced redundancy in DecimalField tests with subTest().Tim Graham
2018-01-05Fixed #28882 -- Fixed cleaning of disabled MultiValueFields.Tim Graham
Thanks avalanchy for the initial patch.
2017-12-11Fixed #28874 -- Prevented double escaping of errors on hidden form fields.Daniil
2017-12-05Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.Nick Pope
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-10-25Fixed #28474 -- Made DurationField raise ValidationError for inputs that ↵Srinivas Reddy Thatiparthy
raised OverflowError.
2017-09-27Fixed #28562 -- Fixed DecimalValidator handling of positive exponent ↵Josh Schneier
scientific notation.
2017-09-22Refs #15667 -- Removed support for Widget.render() methods without the ↵Tim Graham
renderer argument. Per deprecation timeline.
2017-09-05Fixed #28555 -- Made CharField convert whitespace-only values to the ↵Josh Schneier
empty_value when strip is enabled.
2017-08-29Fixed #28530 -- Prevented SelectDateWidget from localizing years in output.caleb logan
2017-08-26Added Media.__repr__().Collin Anderson
It makes it easier to debug MediaOrderConflictWarnings (refs #28377).