summaryrefslogtreecommitdiff
path: root/django/forms
AgeCommit message (Collapse)Author
2015-10-05[1.8.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related().Tim Graham
Backport of 6afa6818fcf25665bbf61f0921c8c8c6fa8f223e from master
2015-09-21[1.8.x] Fixed #25431 -- Readded inline foreign keys to modelformset instancesClaude Paroz
Too much field exclusions in form's construct_instance() in _post_clean() could lead to some unexpected missing ForeignKey values. Fixes a regression from 45e049937. Refs #13776. Backport of 65a1055a3 from master.
2015-09-14[1.8.x] Fixed typo in django/forms/utils.py docstring.Kholid Fuadi
Backport of b8b776aabe9afcd771f5c49afd2b41b44cae65a4 from master
2015-06-26[1.8.x] Fixed #24958 -- Fixed inline forms using UUID-PK parents with ↵Jason Hoos
auto-PK children. Backport of a50b66da30320887c23c73927f6b2ab41e0301bf from master
2015-06-23[1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning.Tim Graham
2015-06-16[1.8.x] Fixed #24948 -- Fixed crash when uploading bitmap images in ↵Andriy Sokolovskiy
forms.ImageField Backport of cf6ce279c7671a4c83c960c5c526f92679a4fac8 from master
2015-06-04[1.8.x] Removed comment from Form.changed_data; refs #24191Alasdair Nicol
Backport of 5987b3c46d5a6948737627d294d95ed54d49eae6 from master
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.