summaryrefslogtreecommitdiff
path: root/django/forms
AgeCommit message (Collapse)Author
2016-08-01[1.10.x] Fixed #26927 -- Made subwidget iteration pass disabled and required ↵Jon Dufresne
attributes. Backport of ac3aaaa740dcf9c6efd2f88ee9219c1924c7695e from master
2016-07-30[1.10.x] Fixed #26970 -- Fixed crash with disabled ModelMultipleChoiceField.Tim Graham
Backport of 4e861682904744b0ea3ead8552513c6f1a826c5a from master
2016-07-27[1.10.x] Fixed #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. Backport of a5f85d891b51d7ceb4f9e422e3e4f5c741062288 from master
2016-07-14[1.10.x] Fixed #26890 -- Fixed IntegerField crash on Unicode numbers.Jon Dufresne
Backport of 76e19da5b0385d4f8afda509e0b60f77f7ffc4c2 from master
2016-06-18[1.10.x] Refs #15667 -- Fixed crash when indexing RadioFieldRenderer with ↵Tim Graham
ModelChoiceIterator. Regression in 86573861a95e5a47dc7ff906443117d75b73dca1
2016-05-11Refs #24227 -- Removed ManyToManyField special casing in model_to_dict().Tim Graham
2016-04-28Refs #15667 -- Removed choices argument from some RendererMixin methods.Tim Graham
RendererMixin will soon be removed but this removal and the corresponding test changes stand on their own.
2016-04-26Fixed #21332, #26538 -- Fixed inconsistent and duplicate form fields on ↵David Sanders
inline formsets.
2016-04-24Fixed #26534 -- Fixed boolean form fields has_changed() with hidden input.David Sanders
2016-04-23Fixed #26533 -- Renamed Widget._format_value() to format_value().Tim Graham
2016-04-22Fixed #26528 -- Allowed any iterable (e.g. tuple) as validators kwarg for ↵Loïc Bistuer
form/model fields.
2016-04-21Fixed #22383 -- Added support for HTML5 required attribute on required form ↵Jon Dufresne
fields.
2016-04-19Fixed #26516 -- Added minlength attribute when forms.CharField.min_length is ↵Jon Dufresne
set.
2016-04-14Refs #26502 -- Added choices to Form.__getitem__() KeyError message.Tim Graham
2016-04-13Refs #16508 -- Renamed the current "virtual" fields to "private".Michal Petrucha
The only reason why GenericForeignKey and GenericRelation are stored separately inside _meta is that they need to be cloned for every model subclass, but that's not true for any other virtual field. Actually, it's only true for GenericRelation.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-04Fixed W503 flake8 warnings.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.
2016-03-26Fixed #25987 -- Made inline formset validation respect unique_together with ↵Simon Charette
an unsaved parent object. Thanks Anton Kuzmichev for the report and Tim for the review.
2016-03-25Removed unnecessary type creation in modelforset_factory.Simon Charette
2016-03-19Refs #24227 -- Replaced M2M isinstance checks by field.many_to_manyClaude Paroz
Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
2016-02-26Fixed #24974 -- Fixed inheritance of formfield_callback for ↵Yoong Kang Lim
modelform_factory forms.
2016-02-24Fixed #26267 -- Fixed BoundField to reallow slices of subwidgets.Jon Dufresne
2016-02-21Fixed #26238 -- Raised explicit error for non-editable field in ModelFormClaude Paroz
Thanks Luke Crouch for the report and Simon Charette for the review.
2016-02-19Fixed #25349 -- Allowed a ModelForm to unset a fields with blank=True, ↵haxoza
required=False.
2016-02-15Fixed #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2Berker Peksag
2016-02-02Fixed #25731 -- Removed unused choices kwarg for Select.render()jpic
2016-01-28Fixed #26129 -- Made invalid forms display initial values of disabled fields.Tim Graham
2016-01-25Refs #25731 -- Removed unused MultipleHiddenInput choicesjpic
2016-01-23Refs #26104 -- Replaced unnecessary force_str() with force_text().Tim Graham
2016-01-22Fixed #26104 -- Fixed TypeError when passing number to forms.DurationField.Alexander Gaevsky
2015-12-17Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable fieldClaude Paroz
This fixes a regression introduced by 871440361.
2015-12-10Fixed #21221 -- Made form Media and static template tag use staticfiles if ↵Johannes Hoppe
installed.
2015-11-09Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.Marti Raudsepp
This fixes a regression from refs #25496.
2015-10-19Fixed #25567 -- Removed obsolete MEDIA_URL fallback in Media.absolute_pathClaude Paroz
2015-10-05Fixed #25496 -- Made ModelChoiceField respect prefetch_related().Tim Graham
2015-09-24Refs #25294 -- Added BoundField import for backwards compatibility.Moritz Sichert
2015-09-23Refs #23162 -- Removed forms.Field._has_changed() method.Tim Graham
Per deprecation timeline.
2015-09-23Refs #23151 -- Removed RegexField.error_message per deprecation timeline.Tim Graham
2015-09-23Fixed #25410 -- Fixed empty ClearableFileInput crash on Python 2.Tim Graham
Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2" and added a regression test. This reverts commit 5c412dd8a724b263489c1bd7a2fea381460665d7.
2015-09-21Fixed #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.
2015-09-18Fixed #24636 -- Added model field validation for decimal places and max digits.Iulia Chiriac
2015-09-16Refs #25294 -- Moved BoundField to django.forms.boundfield.Moritz Sichert
2015-09-16Fixed #25294 -- Allowed custom BoundFields on forms.Moritz Sichert
2015-09-14Fixed typo in django/forms/utils.py docstring.Kholid Fuadi
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-07Fixed #24706 -- Made ModelForm._post_clean() handle a ValidationError raised ↵Keryn Knight
when constructing the model instance. Thanks Loïc Bistuer for review and advice.
2015-08-21Removed BaseForm._raw_value().Tim Graham
Unused since efb0100ee67931329f17bc9988ecd5f0619cea14.
2015-08-07Removed forms.models.save_instance() function.Tim Graham
As of b11564fd36587b1077bf7d77b62b7879cc08c382 it's no longer used elsewhere in Django and it isn't a documented public API. Thanks Simon Charette for review.
2015-08-07Fixed #25241 -- Corrected ModelForm.save() error message when saving invalid ↵Tim Graham
form with UUIDField pk.