summaryrefslogtreecommitdiff
path: root/tests/forms_tests
AgeCommit message (Collapse)Author
2017-09-27[2.0.x] Fixed #28562 -- Fixed DecimalValidator handling of positive exponent ↵Josh Schneier
scientific notation. Backport of e8c45963296eb8bf3938bf9ece30b585a8cbb097 from master
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).
2017-08-12Fixed #28201 -- Added ProhibitNullCharactersValidator and used it on ↵Alejandro Zamora
CharField form field.
2017-08-11Fixed #28421 -- Split some long FormSet tests and made other cosmetic cleanups.Tim Graham
Thanks Windson for the initial patch.
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-07-29Fixed #28264 -- Made FilePathField sort files and directories when ↵Srinivas Reddy Thatiparthy
recursive=True.
2017-07-24Fixed #28321 -- Prevented FormSet.full_clean() from adding errors from ↵Windson yang
deleted forms.
2017-07-20Fixed #28377 -- Made combining form Media retain relative asset order.Johannes Hoppe
Thanks Florian Apolloner, Mariusz Felisiak, and Tim Graham for reviews.
2017-07-19Fixed #28414 -- Fixed ClearableFileInput rendering as a subwidget of ↵Roman Selivanov
MultiWidget.
2017-07-17Created a dedicated test directory for FilePathField tests.Srinivas Reddy Thatiparthy
2017-07-14Fixed #28387 -- Fixed has_changed() for disabled form fields that subclass it.Srinivas Reddy Thatiparthy
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-03Fixed #28192 -- Required passing optional form field args as keyword args.Claude Paroz
2017-06-03Refs #28192 -- Fixed documentation of ChoiceField choices requirementClaude Paroz
Thanks Tim Graham for noticing the issue.
2017-06-02Fixed #28265 -- Prevented renderer warning on Widget.render() with **kwargs.Jon Dufresne
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-06-01Fixed #28242 -- Moved ImageField file extension validation to the form field.Manatsawin Hanmongkolchai
2017-05-31Fixed a forms test after updated translations.Tim Graham
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
iter(dict) is equivalent to iter(dict.keys()).
2017-05-27Fixed #27922 -- Added ErrorDict.get_json_data().Tim Heap
2017-05-24Refs #27804 -- Used subTest() in several tests.Bruno Alla
2017-05-03Fixed #28157 -- Fixed choice ordering in form fields with grouped and ↵Tim Graham
non-grouped options. Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
2017-04-28Fixed #28130 -- Fixed formset min_num validation with initial, unchanged forms.Tim Graham
Regression in f5c6295797b8332134fd89e0209a18a1d1d45e0c.
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-17Fixed #28058 -- Restored empty BoundFields evaluating to True.Tim Graham
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
2017-04-07Fixed #22654 -- Broken decimal validationRaphael Michel
2017-04-01Fixed #27989 -- Preserved empty QueryDicts for form's data/files args.Stefan Wehrmeyer
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-20Fixed #27957 -- Removed technical terms from ↵Jon Dufresne
InlineForeignKeyField/ModelMultipleChoiceField error messages.
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-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-14Fixed #27920 -- Restored empty RadioSelect choice producing value=""Claude Paroz
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01. Thanks Tim Graham for the review.
2017-02-17Fixed #27308 -- Fixed BytesWarnings in the test suite.Tim Graham
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-02-07Fixed #5851 -- Allowed specifying different HTML attrs for ↵Mariusz Felisiak
SplitDateTimeWidget subwidgets. Thanks Tim Graham and Nick Pope for review.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-06Fixed #27805 -- Fixed ClearableFileInput's "Clear" checkbox on model fields ↵Tim Graham
with a default.
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
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-24Removed unneeded force_text calls in the test suiteClaude Paroz
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