summaryrefslogtreecommitdiff
path: root/django/forms
AgeCommit message (Collapse)Author
2015-03-27[1.8.x] Fixed #24469 -- Refined escaping of Django's form elements in ↵Moritz Sichert
non-Django templates. Backport of 1f2abf784a9fe550959de242d91963b2ad6f7e9c from master
2015-03-18[1.8.x] Refs #24469 -- Fixed escaping of forms, fields, and media in ↵Moritz Sichert
non-Django templates. Backport of 6bff3439894ac22d80f270f36513fc86586273f3 from master
2015-02-24[1.8.x] Fixed #24391 -- Made BoundField.value() cache callable values.Michael Angeletti
Backport of 65441bbdb02427655869c42791a0bc5a9c631292 from master
2015-02-24[1.8.x] Fixed #24395 -- Ensured inline ModelsForms have an updated related ↵Stanislas Guerra
instance. Backport of 4c2f546b55c029334d22e69bb29db97f9356faa3 from master
2015-02-23[1.8.x] Fixed #24377 -- Fixed model inline formsets with primary key's that ↵Tim Graham
have defaults. Backport of 1306cd1e8acfb13602ee8dc40993b2505cd7523b from master
2015-02-14[1.8.x] Added missing return value to DurationField.prepare_value(); refs ↵Michael Angeletti
#24339. Backport of 49647bec6e86b8d3d370ea1d8a80423185502c5a from master
2015-02-14[1.8.x] Fixed #24339 -- Fixed crash with empty DurationField form field.Michael Angeletti
Backport of 8a21d250334f56845f255be5534b01d8c6eda314 from master
2015-02-09[1.8.x] Sorted imports with isort; refs #23860.Tim Graham
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
2015-01-20[1.8.x] Fixed typos in code comments.Adam Taylor
Backport of 039465a6a7a18f48ea77ceadb6949990c0ec92e1 from master
2015-01-15Fixed #23712 -- Fixed KeyError with BaseForm._html_output()Yang Liu
2015-01-13Fixed DoS possibility in ModelMultipleChoiceField.Tim Graham
This is a security fix. Disclosure following shortly. Thanks Keryn Knight for the report and initial patch.
2015-01-12Fixed #24138 -- Added modelform_factory to __all__.Josh Schneier
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2014-12-23Fixed #21414 -- Removed RelatedObject and deprecated Field.related.Anssi Kääriäinen
2014-12-20Fixed #2443 -- Added DurationField.Marc Tamlyn
A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews.
2014-12-13Fixed #23812 -- Changed django.utils.six.moves.xrange imports to rangeMichael Hall
2014-12-12Fixed #23674 -- Fixed a crash when a MultiValueField has invalid data.Grzegorz Slusarek
2014-12-08Fixed #23968 -- Replaced list comprehension with generators and dict ↵Jon Dufresne
comprehension
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 typo in forms/models.py comment.Simon Charette
2014-11-21Fixed #23883 -- Stopped flatatt modifying its argumentTim Heap
2014-11-12Fixed #23795 -- Fixed a regression in custom form fieldsBaptiste Mispelon
Custom form fields having a `queryset` attribute but no `limit_choices_to` could no longer be used in ModelForms. Refs #2445. Thanks to artscoop for the report.
2014-11-04Fixed #13181 -- Added support for callable choices to forms.ChoiceFieldPeter Inglesby
Thanks vanschelven and expleo for the initial patch.
2014-10-27Removed some commented code in the forms Media class.Tim Graham
2014-10-10Fixed #23623 -- Reduced memory consumption when generating ModelChoiceField ↵Thomas Chaumeny
choices
2014-10-07Fixed #23594 -- Fixed deepcopy on ErrorList.Loic Bistuer
Thanks Troy Grosfield for the report and Tim Graham for the tests.
2014-09-16Fixed #19463 -- Added UUIDFieldMarc Tamlyn
Uses native support in postgres, and char(32) on other backends.
2014-09-08Fixed #23451 -- Fixed typo in inlineformset_factory() error message.Petras Zdanavičius
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-08-29Fixed #21201 -- Improved customization of ClearableFileInput.Vlastimil Zíma
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-03Fixed #23151 -- Deprecated RegexField.error_message.Tim Graham
Thanks Baptiste Mispelon for the suggestion.
2014-08-02Fixed two typos in docstrings.Baptiste Mispelon
2014-08-01Fixed #23103 -- Annotated ImageField file with image and content_type ↵Petras Zdanavičius
attributes. Thanks Jeremy Dunck for the suggestion and Nick Sanford for review.
2014-07-31Fixed #22808 -- Made ModelMultipleChoiceField validation more robust to ↵Niclas Olofsson
invalid data types.. Thanks Mattias Lindvall for the report and inital patch.
2014-07-29Fixed #23129 -- Added 'true' and 'false' to `NullBooleanField`.Kit La Touche
JavaScript serializations of forms will sometimes render the boolean values as the strings 'true' and 'false', in lower case. Rather than repeat boilerplate in the JavaScript to circumvent this, it seems reasonable to allow Django to understand the lower-case versions of the booleans.
2014-07-28Fixed #23113 -- ChoiceInput.render should take specified attrs into account.Simon Charette
Thanks to Tim Graham for the review.
2014-07-09Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet.Tim Graham
Thanks sebastien at clarisys.fr for the report and gautier for the patch.
2014-07-05Fixed various minor doc typos / references.Daniel Hahler
2014-07-05Fixed #22950 -- Eased markup customization for choice field renderingClaude Paroz
Thanks Patrick Robertson for the report.
2014-07-05Ensured bound field renders as unicode safe dataClaude Paroz
Refs #22950.
2014-06-21Prevented evaluation of a possible lazy messageClaude Paroz
As far as possible, message evaluation should not happen in field __init__ (often run at import time).
2014-06-20Fixed #22838 -- Deprecated ModelChoiceField.cache_choices.Marc Tamlyn
Undocumented, untested and probably not even useful feature.
2014-06-04Fixed #13776 -- Fixed ModelForm.is_valid() exception with non-nullable FK ↵Anubhav Joshi
and blank=True. Thanks peterbe for the report.
2014-06-04Fixed #22684 -- Amended SelectDateWidget.empty_label to accept a tuple of ↵gyx1000
values. Thanks danielsamuels for the report
2014-06-02Fixed #11776 -- Added CSS class for non-field/top of form errors.Nick Presta
Thanks Daniel Pope for the suggestion.
2014-05-28Fixed several typos in DjangoAlex Gaynor