summaryrefslogtreecommitdiff
path: root/django/forms
Commit message (Collapse)AuthorAgeFilesLines
* Fixed W503 flake8 warnings.Tim Graham2016-04-041-7/+8
|
* Fixed #25532 -- Properly redisplayed JSONField form input valuesClaude Paroz2016-04-011-4/+5
| | | | | Thanks David Szotten for the report and Tommy Beadle for code inspiration. Thanks Tim Graham for the review.
* Fixed #25987 -- Made inline formset validation respect unique_together with ↵Simon Charette2016-03-261-3/+9
| | | | | | an unsaved parent object. Thanks Anton Kuzmichev for the report and Tim for the review.
* Removed unnecessary type creation in modelforset_factory.Simon Charette2016-03-251-2/+0
|
* Refs #24227 -- Replaced M2M isinstance checks by field.many_to_manyClaude Paroz2016-03-191-3/+1
| | | | Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
* Fixed #24974 -- Fixed inheritance of formfield_callback for ↵Yoong Kang Lim2016-02-261-2/+9
| | | | modelform_factory forms.
* Fixed #26267 -- Fixed BoundField to reallow slices of subwidgets.Jon Dufresne2016-02-241-1/+1
|
* Fixed #26238 -- Raised explicit error for non-editable field in ModelFormClaude Paroz2016-02-211-0/+6
| | | | Thanks Luke Crouch for the report and Simon Charette for the review.
* Fixed #25349 -- Allowed a ModelForm to unset a fields with blank=True, ↵haxoza2016-02-191-5/+5
| | | | required=False.
* Fixed #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2Berker Peksag2016-02-151-1/+1
|
* Fixed #25731 -- Removed unused choices kwarg for Select.render()jpic2016-02-021-9/+9
|
* Fixed #26129 -- Made invalid forms display initial values of disabled fields.Tim Graham2016-01-281-0/+2
|
* Refs #25731 -- Removed unused MultipleHiddenInput choicesjpic2016-01-251-6/+1
|
* Refs #26104 -- Replaced unnecessary force_str() with force_text().Tim Graham2016-01-231-1/+1
|
* Fixed #26104 -- Fixed TypeError when passing number to forms.DurationField.Alexander Gaevsky2016-01-221-1/+1
|
* Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable fieldClaude Paroz2015-12-171-6/+5
| | | | This fixes a regression introduced by 871440361.
* Fixed #21221 -- Made form Media and static template tag use staticfiles if ↵Johannes Hoppe2015-12-101-5/+8
| | | | installed.
* Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.Marti Raudsepp2015-11-091-2/+4
| | | | This fixes a regression from refs #25496.
* Fixed #25567 -- Removed obsolete MEDIA_URL fallback in Media.absolute_pathClaude Paroz2015-10-191-5/+1
|
* Fixed #25496 -- Made ModelChoiceField respect prefetch_related().Tim Graham2015-10-051-1/+3
|
* Refs #25294 -- Added BoundField import for backwards compatibility.Moritz Sichert2015-09-241-0/+2
|
* Refs #23162 -- Removed forms.Field._has_changed() method.Tim Graham2015-09-231-10/+1
| | | | Per deprecation timeline.
* Refs #23151 -- Removed RegexField.error_message per deprecation timeline.Tim Graham2015-09-231-11/+0
|
* Fixed #25410 -- Fixed empty ClearableFileInput crash on Python 2.Tim Graham2015-09-231-8/+0
| | | | | | | Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2" and added a regression test. This reverts commit 5c412dd8a724b263489c1bd7a2fea381460665d7.
* Fixed #25431 -- Readded inline foreign keys to modelformset instancesClaude Paroz2015-09-211-5/+5
| | | | | | 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.
* Fixed #24636 -- Added model field validation for decimal places and max digits.Iulia Chiriac2015-09-181-44/+1
|
* Refs #25294 -- Moved BoundField to django.forms.boundfield.Moritz Sichert2015-09-165-226/+241
|
* Fixed #25294 -- Allowed custom BoundFields on forms.Moritz Sichert2015-09-162-1/+9
|
* Fixed typo in django/forms/utils.py docstring.Kholid Fuadi2015-09-141-1/+1
|
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-2/+6
|
* Fixed #24706 -- Made ModelForm._post_clean() handle a ValidationError raised ↵Keryn Knight2015-09-071-3/+13
| | | | | | when constructing the model instance. Thanks Loïc Bistuer for review and advice.
* Removed BaseForm._raw_value().Tim Graham2015-08-211-9/+0
| | | | Unused since efb0100ee67931329f17bc9988ecd5f0619cea14.
* Removed forms.models.save_instance() function.Tim Graham2015-08-071-58/+42
| | | | | | | As of b11564fd36587b1077bf7d77b62b7879cc08c382 it's no longer used elsewhere in Django and it isn't a documented public API. Thanks Simon Charette for review.
* Fixed #25241 -- Corrected ModelForm.save() error message when saving invalid ↵Tim Graham2015-08-071-1/+1
| | | | form with UUIDField pk.
* Used @cached_property for BaseForm.changed_data.Curtis Maloney2015-08-041-24/+23
|
* Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson2015-07-171-0/+6
| | | | Thanks Flavio Curella and Berker Peksag for the initial patch.
* Fixed #25078 -- Added support for disabled form fieldsClaude Paroz2015-07-162-2/+10
| | | | Thanks Keryn Knight and Tim Graham for the reviews.
* Fixed #25124 -- Eased customization of SelectDateWidget subwidget.George Brocklehurst2015-07-151-1/+2
|
* Fixed #25085 -- Overrode Select widget's __deepcopy__()Eric Carrillo2015-07-141-0/+7
|
* Fixed #25097 -- Added BaseModelFormSet.delete_existing() hook.Simon Litchfield2015-07-141-2/+6
|
* Fixed #4960 -- Added "strip" option to CharFieldCurtis2015-07-011-7/+9
|
* Fixed #24958 -- Fixed inline forms using UUID-PK parents with auto-PK children.Jason Hoos2015-06-261-3/+8
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-242-5/+5
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Fixed #24948 -- Fixed crash when uploading bitmap images in forms.ImageFieldAndriy Sokolovskiy2015-06-161-1/+3
|
* Allowed easier extendability of ChoiceFieldRenderer.TMFGravyHands2015-06-111-4/+6
|
* Made flatatt docstring match realityMatthew Schinckel2015-06-081-3/+5
| | | | The spirit of the docstring was correct, but referred to an outdated version of the function.
* Fixed #12437 -- Added css_classes to Form._html_output()Markus Amalthea Magnuson2015-06-061-0/+2
|
* Added release notes for feature added in fe21fb81Russell Keith-Magee2015-06-051-0/+3
|
* Merge pull request #4757 from sergei-maertens/ticket_18166Russell Keith-Magee2015-06-051-2/+11
|\ | | | | Fixed #18166 -- Added ability to pass kwargs to the form constructor in a formset.
| * Fixed #18166 -- Added form_kwargs support to formsets.Sergei Maertens2015-06-041-2/+11
| | | | | | | | | | | | | | | | By specifying form_kwargs when instantiating the formset, or overriding the `get_form_kwargs` method on a formset class, you can pass extra keyword arguments to the underlying `Form` instances. Includes tests and documentation update.