Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/forms
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25567 -- Removed obsolete MEDIA_URL fallback in ↵Claude Paroz2015-10-191-5/+1
| | | | Media.absolute_path
* Fixed #25496 -- Made ModelChoiceField respect ↵Tim Graham2015-10-061-1/+3
| | | | prefetch_related().
* Refs #25294 -- Added BoundField import for backwards ↵Moritz Sichert2015-09-241-0/+2
| | | | compatibility.
* Refs #23162 -- Removed forms.Field._has_changed() method.Tim Graham2015-09-241-10/+1
| | | | Per deprecation timeline.
* Refs #23151 -- Removed RegexField.error_message per ↵Tim Graham2015-09-241-11/+0
| | | | deprecation timeline.
* Fixed #25410 -- Fixed empty ClearableFileInput crash on ↵Tim Graham2015-09-231-8/+0
| | | | | | | | | Python 2. 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 ↵Claude Paroz2015-09-211-5/+5
| | | | | | | | modelformset instances 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 ↵Iulia Chiriac2015-09-181-44/+1
| | | | places and max digits.
* 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 ↵Keryn Knight2015-09-071-3/+13
| | | | | | ValidationError raised 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 ↵Tim Graham2015-08-071-1/+1
| | | | when saving invalid 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 ↵Edward Henderson2015-07-171-0/+6
| | | | | | SlugField. 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 ↵George Brocklehurst2015-07-151-1/+2
| | | | subwidget.
* Fixed #25085 -- Overrode Select widget's __deepcopy__()Eric Carrillo2015-07-141-0/+7
|
* Fixed #25097 -- Added BaseModelFormSet.delete_existing() ↵Simon Litchfield2015-07-141-2/+6
| | | | hook.
* Fixed #4960 -- Added "strip" option to CharFieldCurtis2015-07-011-7/+9
|
* Fixed #24958 -- Fixed inline forms using UUID-PK parents ↵Jason Hoos2015-06-261-3/+8
| | | | with auto-PK children.
* 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 ↵Andriy Sokolovskiy2015-06-161-1/+3
| | | | in forms.ImageField
* 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-071-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.
* | Removed comment from Form.changed_data; refs #24191Alasdair Nicol2015-06-041-6/+0
|/
* Fixed #24788 -- Allowed Forms to specify a prefix at the ↵Paweł Marczewski2015-05-261-1/+3
| | | | class level.
* Removed unnecessary arguments in .get method callsPiotr Jakimiak2015-05-132-12/+12
|
* Fixed #24771 -- Simplified ModelForm._post_clean()Peter Schmidt2015-05-081-7/+1
| | | | | | This code added in 45e049937d2564d11035827ca9a9221b86215e45 is no longer necessary to pass the model_formsets_regress tests as of 5e2c4a4bd1f86962842783e0b42ada7b9c14c247.
* Fixed #24497 -- Added Widget.supports_microseconds attributewdmgsm2015-05-062-1/+2
|
* Fixes #24727 -- Prevented ClearableFileInput from ↵Antonio Garcia-Dominguez2015-05-041-0/+8
| | | | masking exceptions on Python 2
* Fixed #24693 -- Added label and label_lower property to ↵Luis Del Giudice2015-05-021-14/+10
| | | | Model._meta
* Removed cases of six.iter* wrapped in a list()Curtis Maloney2015-04-181-1/+1
| | | | | There's absolutely no advantage [and a mild performance hit] to using six.iter* in these cases.
* Fixed #24469 -- Refined escaping of Django's form ↵Moritz Sichert2015-03-284-12/+13
| | | | elements in non-Django templates.
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-15/+15
| | | | | | | | Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
* Refs #24469 -- Fixed escaping of forms, fields, and ↵Moritz Sichert2015-03-182-0/+9
| | | | media in non-Django templates.
* Fixed #5986 -- Added ability to customize order of Form ↵Thomas Tanner2015-03-161-1/+26
| | | | fields
* Fixed #24428 -- Fixed has_changed for fields with coercionClaude Paroz2015-03-051-0/+1
| | | | Thanks Carsten Fuchs for the report.
* Fixed #17401 -- Made SelectDateWidget.render reflect ↵Claude Paroz2015-03-011-2/+2
| | | | | | wrong value Thanks Marcin Wrobel for the initial patch.
* Fixed #24229 -- Changed IntegerField to clean floats ↵Jon Dufresne2015-02-271-1/+3
| | | | representing integers
* Fixed #24391 -- Made BoundField.value() cache callable ↵Michael Angeletti2015-02-251-7/+17
| | | | values.
* Fixed #24395 -- Ensured inline ModelsForms have an ↵Stanislas Guerra2015-02-241-0/+4
| | | | updated related instance.
* Fixed #24377 -- Fixed model inline formsets with primary ↵Tim Graham2015-02-231-1/+9
| | | | key's that have defaults.