summaryrefslogtreecommitdiff
path: root/django/forms
AgeCommit message (Collapse)Author
2016-09-30[1.10.x] Refs #27186 -- Fixed model form default fallback for ↵Tim Graham
CheckboxSelectMultiple. Backport of 87c5e7efebd040aef0f0479ccf86877155bb5cea from master
2016-09-22[1.10.x] Fixed #27186 -- Fixed model form default fallback for MultiWidget, ↵Tim Graham
FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget. Thanks Matt Westcott for the review. Backport of 3507d4e773aa9ff2336e7230ba231c4ba6eb568f from master
2016-09-01[1.10.x] Refs #27039 -- Fixed regression with field defaults in prefixed forms.Alex Hill
Backport of d9c083cfee853272ded14c6c87623e910c9e81c4 from master
2016-08-24[1.10.x] Fixed #27039 -- Fixed empty data fallback to model field default in ↵Tim Graham
model forms. Backport of 4bc6b939944183533ae74791d21282e613f63a96 from master
2016-08-12[1.10.x] Fixed #27037 -- Prevented required attribute on ClearableFileInput ↵Jon Dufresne
when initial data exists. Backport of fab46ce6f5a0a58c4e5e39c9e5e412702beb4a64 from master
2016-08-03[1.10.x] Fixed #27001 -- Fixed a query count regression in ModelChoiceField ↵Alex Hill
with RadioSelect. Backport of c5ebfda00226e3695cadbc13ea9ce4c5951d3ed0 from master
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