summaryrefslogtreecommitdiff
path: root/django/forms/utils.py
AgeCommit message (Collapse)Author
2018-01-18Refs #23668 -- Removed passing default argument of current TZ to ↵Jon Dufresne
make_aware()/naive.
2017-07-31Avoided creating temporary lists for obtaining the first item.Sergey Fedoseev
2017-05-27Fixed #27922 -- Added ErrorDict.get_json_data().Tim Heap
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-02-20Refs #27656 -- Updated django.forms/http docstring verbs according to PEP 257.Anton Samarchyan
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-22Refs #23919 -- Replaced six.reraise by raiseClaude Paroz
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-18Refs #23919 -- Removed obsolete __ne__() methods.Aymeric Augustin
__ne__() defaults to the opposite of __eq__() on Python 3 when it doesn't return NotImplemented.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-27Fixed #27642 -- Made forms.utils.flatatt() omit 'None' values from attrs.Illia Volochii
2015-09-16Refs #25294 -- Moved BoundField to django.forms.boundfield.Moritz Sichert
2015-09-14Fixed typo in django/forms/utils.py docstring.Kholid Fuadi
2015-06-08Made flatatt docstring match realityMatthew Schinckel
The spirit of the docstring was correct, but referred to an outdated version of the function.
2015-03-27Fixed #24469 -- Refined escaping of Django's form elements in non-Django ↵Moritz Sichert
templates.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-11-21Fixed #23883 -- Stopped flatatt modifying its argumentTim Heap
2014-10-07Fixed #23594 -- Fixed deepcopy on ErrorList.Loic Bistuer
Thanks Troy Grosfield for the report and Tim Graham for the tests.
2014-06-02Fixed #11776 -- Added CSS class for non-field/top of form errors.Nick Presta
Thanks Daniel Pope for the suggestion.
2014-03-22Fixed #20684 -- Added support for HTML5 boolean attributes to form widgets.Loic Bistuer
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-06Reworked ErrorDict.as_json() to prevent unnecessary ↵Loic Bistuer
serialization/deserialization step. Thanks @apollo13 for the suggestion. Refs #17413.
2014-02-28Fixed #21962 -- Added escape_html flag to ErrorDict.as_json()vvojvoda
2013-12-18Refs #17413 -- Added isinstance backward compatibility on ErrorList.Loic Bistuer
2013-12-16Fixed #17413 -- Serialization of form errors along with all metadata.Loic Bistuer
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-11-02More attacking E302 violatorsAlex Gaynor
2013-10-17Fixed #21270 -- Fixed E701 pep8 warningsAlasdair Nicol
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.