summaryrefslogtreecommitdiff
path: root/django/forms/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34077 -- Added form field rendering.David Smith2023-03-241-0/+23
|
* Refs #32339 -- Changed default form and formset rendering style to div-based.Mariusz Felisiak2023-01-171-20/+0
| | | | | | | Per deprecation timeline. This also removes "django/forms/default.html" and "django/forms/formsets/default.html" templates.
* Refs #32365 -- Removed support for pytz timezones per deprecation timeline.Mariusz Felisiak2023-01-171-3/+1
|
* Refs #32339 -- Deprecated default.html form template.David Smith2022-05-171-5/+23
| | | | Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
* Fixed #32339 -- Added div.html form template.David Smith2022-05-051-0/+4
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-36/+43
|
* Fixed #33130 -- Restored form errors to be a dict.Jaap Roes2021-09-241-4/+4
| | | | Regression in 456466d932830b096d39806e291fe23ec5ed38d5.
* Fixed #31026 -- Switched form rendering to template engine.David Smith2021-09-201-45/+71
| | | | | | | Thanks Carlton Gibson, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews. Co-authored-by: Johannes Hoppe <info@johanneshoppe.com>
* Refs #32365 -- Allowed use of non-pytz timezone implementations.Paul Ganssle2021-01-191-0/+5
|
* Fixed #30261 -- Prevented Form._html_output() from mutating errors if hidden ↵Hasan Ramezani2020-02-131-0/+5
| | | | fields have errors.
* Removed some outdated backwards compatibility imports and misleading comments.Mads Jensen2019-09-241-1/+1
| | | | | | | | EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab. FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0. BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9. EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797. BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef.
* Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne2019-06-281-1/+1
| | | | Thanks Claude Paroz for assistance with translations.
* Refs #23668 -- Removed passing default argument of current TZ to ↵Jon Dufresne2018-01-181-2/+1
| | | | make_aware()/naive.
* Avoided creating temporary lists for obtaining the first item.Sergey Fedoseev2017-07-311-2/+2
|
* Fixed #27922 -- Added ErrorDict.get_json_data().Tim Heap2017-05-271-1/+4
|
* Refs #27795 -- Removed unneeded force_text callsClaude Paroz2017-03-041-4/+3
| | | | Thanks Tim Graham for the review.
* Refs #27656 -- Updated django.forms/http docstring verbs according to PEP 257.Anton Samarchyan2017-02-201-1/+1
|
* Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz2017-02-071-1/+1
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-1/+1
|
* Refs #23919 -- Replaced six.reraise by raiseClaude Paroz2017-01-221-13/+8
|
* Refs #23919 -- Removed misc references to Python 2.Tim Graham2017-01-211-5/+1
|
* Refs #23919 -- Removed obsolete __ne__() methods.Aymeric Augustin2017-01-181-3/+0
| | | | | __ne__() defaults to the opposite of __eq__() on Python 3 when it doesn't return NotImplemented.
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-3/+1
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed #27642 -- Made forms.utils.flatatt() omit 'None' values from attrs.Illia Volochii2016-12-271-1/+1
|
* Refs #25294 -- Moved BoundField to django.forms.boundfield.Moritz Sichert2015-09-161-0/+7
|
* Fixed typo in django/forms/utils.py docstring.Kholid Fuadi2015-09-141-1/+1
|
* Made flatatt docstring match realityMatthew Schinckel2015-06-081-3/+5
| | | | The spirit of the docstring was correct, but referred to an outdated version of the function.
* Fixed #24469 -- Refined escaping of Django's form elements in non-Django ↵Moritz Sichert2015-03-271-1/+3
| | | | templates.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-11/+7
|
* Removed redundant numbered parameters from str.format().Berker Peksag2014-12-031-6/+6
| | | | Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
* Fixed #23883 -- Stopped flatatt modifying its argumentTim Heap2014-11-211-7/+8
|
* Fixed #23594 -- Fixed deepcopy on ErrorList.Loic Bistuer2014-10-071-0/+9
| | | | Thanks Troy Grosfield for the report and Tim Graham for the tests.
* Fixed #11776 -- Added CSS class for non-field/top of form errors.Nick Presta2014-06-021-1/+11
| | | | Thanks Daniel Pope for the suggestion.
* Fixed #20684 -- Added support for HTML5 boolean attributes to form widgets.Loic Bistuer2014-03-221-15/+12
|
* Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz2014-03-081-2/+3
| | | | | Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
* Reworked ErrorDict.as_json() to prevent unnecessary ↵Loic Bistuer2014-03-061-11/+13
| | | | | | serialization/deserialization step. Thanks @apollo13 for the suggestion. Refs #17413.
* Fixed #21962 -- Added escape_html flag to ErrorDict.as_json()vvojvoda2014-02-281-5/+6
|
* Refs #17413 -- Added isinstance backward compatibility on ErrorList.Loic Bistuer2013-12-181-1/+1
|
* Fixed #17413 -- Serialization of form errors along with all metadata.Loic Bistuer2013-12-161-12/+54
|
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-10/+8
|
* More attacking E302 violatorsAlex Gaynor2013-11-021-0/+5
|
* Fixed #21270 -- Fixed E701 pep8 warningsAlasdair Nicol2013-10-171-3/+6
|
* Fixed #17627 -- Renamed util.py files to utils.pyTim Graham2013-09-161-0/+117
Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch.