summaryrefslogtreecommitdiff
path: root/django/forms/forms.py
AgeCommit message (Collapse)Author
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-02-15Fixed #28171 -- Added an exception if Form's empty_permitted and ↵Herbert Parentes Fortes Neto
use_required_attribute arguments conflict.
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2017-12-26Fixed #28930 -- Simplified code with any() and all().Дилян Палаузов
2017-12-11Fixed #28874 -- Prevented double escaping of errors on hidden form fields.Daniil
2017-12-07Fixed #28906 -- Removed unnecessary bool() calls.Tim Graham
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
Thanks Tim Graham for the review.
2017-04-01Fixed #27989 -- Preserved empty QueryDicts for form's data/files args.Stefan Wehrmeyer
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-27Refs #23919 -- Used DeclarativeFieldsMetaclass.__prepare__() for tracking ↵Tim Graham
form field order.
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
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 #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-08-18Fixed #27068 -- Unified form field initial data retrieval.Jon Dufresne
2016-07-27Fixed #26917 -- Fixed crash in disabled ModelChoiceFields.Tim Graham
Partially reverted refs #25532 to fix a regression in Django 1.10. This reintroduces a crash for disabled forms.JSONField (refs #26949), however, that issue is also present on Django 1.9. Thanks Ryan Schave for the test.
2016-04-21Fixed #22383 -- Added support for HTML5 required attribute on required form ↵Jon Dufresne
fields.
2016-04-14Refs #26502 -- Added choices to Form.__getitem__() KeyError message.Tim Graham
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-01Fixed #25532 -- Properly redisplayed JSONField form input valuesClaude Paroz
Thanks David Szotten for the report and Tommy Beadle for code inspiration. Thanks Tim Graham for the review.
2015-09-24Refs #25294 -- Added BoundField import for backwards compatibility.Moritz Sichert
2015-09-16Refs #25294 -- Moved BoundField to django.forms.boundfield.Moritz Sichert
2015-09-16Fixed #25294 -- Allowed custom BoundFields on forms.Moritz Sichert
2015-08-21Removed BaseForm._raw_value().Tim Graham
Unused since efb0100ee67931329f17bc9988ecd5f0619cea14.
2015-08-04Used @cached_property for BaseForm.changed_data.Curtis Maloney
2015-07-16Fixed #25078 -- Added support for disabled form fieldsClaude Paroz
Thanks Keryn Knight and Tim Graham for the reviews.
2015-06-06Fixed #12437 -- Added css_classes to Form._html_output()Markus Amalthea Magnuson
2015-06-04Removed comment from Form.changed_data; refs #24191Alasdair Nicol
2015-05-25Fixed #24788 -- Allowed Forms to specify a prefix at the class level.Paweł Marczewski
2015-05-06Fixed #24497 -- Added Widget.supports_microseconds attributewdmgsm
2015-03-27Fixed #24469 -- Refined escaping of Django's form elements in non-Django ↵Moritz Sichert
templates.
2015-03-18Refs #24469 -- Fixed escaping of forms, fields, and media in non-Django ↵Moritz Sichert
templates.
2015-03-16Fixed #5986 -- Added ability to customize order of Form fieldsThomas Tanner
2015-02-24Fixed #24391 -- Made BoundField.value() cache callable values.Michael Angeletti
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-18Removed forms.forms.get_declared_fields() per deprecation timeline; refs #19617.Tim Graham
2015-01-15Fixed #23712 -- Fixed KeyError with BaseForm._html_output()Yang Liu
2014-12-03Removed redundant numbered parameters from str.format().Berker Peksag
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-08-22Fixed #23167 -- Added BaseForm.__repr__()areski
Thanks Keryn Knight for the idea.
2014-08-15Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed().Gabriel Muñumel
2014-08-04Fixed #22745 -- Prevented reevaluation of ModelChoiceField's queryset when ↵Vincent-Vega
accesssing BoundField's attrs. Thanks Christian Schmitt for review.
2014-08-04Corrected a comment in forms/forms.py; refs #16612.Tim Graham
2014-08-02Fixed two typos in docstrings.Baptiste Mispelon