summaryrefslogtreecommitdiff
path: root/django/forms
AgeCommit message (Collapse)Author
2016-08-10Fixed #26844 -- Made formset's validate_min validation ignore empty forms.Andrew Nester
2016-08-09Fixed #26905 -- Allowed using MultiValueDict-like objects as form data.Marcin Nowak
2016-08-08Fixed #27002 -- Prevented double query when rendering ModelChoiceField.Alex Hill
2016-08-06Fixed #27015 -- Prevented HTML-invalid minlength/maxlength on hidden inputsClaude Paroz
2016-08-04Fixed #26928 -- Changed forms' checked attribute to HTML5 boolean style.Jon Dufresne
2016-08-03Fixed #27001 -- Fixed a query count regression in ModelChoiceField with ↵Alex Hill
RadioSelect.
2016-08-01Fixed #26927 -- Made subwidget iteration pass disabled and required attributes.Jon Dufresne
2016-07-30Fixed #26970 -- Fixed crash with disabled ModelMultipleChoiceField.Tim Graham
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-07-14Fixed #26821 -- Fixed forms.Email/URLField crash on None value.Priy
2016-07-14Fixed #26890 -- Fixed IntegerField crash on Unicode numbers.Jon Dufresne
2016-06-18Refs #15667 -- Fixed crash when indexing RadioFieldRenderer with ↵Tim Graham
ModelChoiceIterator. Regression in 86573861a95e5a47dc7ff906443117d75b73dca1
2016-06-13Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.Jon Dufresne
Previously, empty values were saved as strings.
2016-06-09Fixed #26734 -- Made iterator class configurable on ModelChoiceField.David Sanders
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.