| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-11-09 | [1.9.x] Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept ↵ | Marti Raudsepp | |
| Managers. This fixes a regression from refs #25496. Backport of 1155843a41af589a856efe8e671a796866430049 from master | |||
| 2015-10-05 | [1.9.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related(). | Tim Graham | |
| Backport of 6afa6818fcf25665bbf61f0921c8c8c6fa8f223e from master | |||
| 2015-09-21 | Fixed #25431 -- Readded inline foreign keys to modelformset instances | Claude 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-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-09-07 | Fixed #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-07 | Removed 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-07 | Fixed #25241 -- Corrected ModelForm.save() error message when saving invalid ↵ | Tim Graham | |
| form with UUIDField pk. | |||
| 2015-07-14 | Fixed #25097 -- Added BaseModelFormSet.delete_existing() hook. | Simon Litchfield | |
| 2015-06-26 | Fixed #24958 -- Fixed inline forms using UUID-PK parents with auto-PK children. | Jason Hoos | |
| 2015-05-13 | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | |
| 2015-05-08 | Fixed #24771 -- Simplified ModelForm._post_clean() | Peter Schmidt | |
| This code added in 45e049937d2564d11035827ca9a9221b86215e45 is no longer necessary to pass the model_formsets_regress tests as of 5e2c4a4bd1f86962842783e0b42ada7b9c14c247. | |||
| 2015-05-02 | Fixed #24693 -- Added label and label_lower property to Model._meta | Luis Del Giudice | |
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| 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. | |||
| 2015-02-24 | Fixed #24395 -- Ensured inline ModelsForms have an updated related instance. | Stanislas Guerra | |
| 2015-02-23 | Fixed #24377 -- Fixed model inline formsets with primary key's that have ↵ | Tim Graham | |
| defaults. | |||
| 2015-02-13 | Fixed #24295 -- Allowed ModelForm meta to specify form field classes. | Loic Bistuer | |
| Thanks Carl Meyer and Markus Holtermann for the reviews. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-20 | Fixed typos in code comments. | Adam Taylor | |
| 2015-01-17 | Removed unused imports. | Tim Graham | |
| 2015-01-17 | Removed Multiple/ModelChoiceField cache_choices option; refs #22838. | Tim Graham | |
| 2015-01-13 | Fixed DoS possibility in ModelMultipleChoiceField. | Tim Graham | |
| This is a security fix. Disclosure following shortly. Thanks Keryn Knight for the report and initial patch. | |||
| 2015-01-12 | Fixed #24138 -- Added modelform_factory to __all__. | Josh Schneier | |
| 2015-01-06 | Fixed #12663 -- Formalized the Model._meta API for retrieving fields. | Daniel Pyrathon | |
| Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch! | |||
| 2014-12-23 | Fixed #21414 -- Removed RelatedObject and deprecated Field.related. | Anssi Kääriäinen | |
| 2014-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-11-21 | Fixed typo in forms/models.py comment. | Simon Charette | |
| 2014-11-12 | Fixed #23795 -- Fixed a regression in custom form fields | Baptiste Mispelon | |
| Custom form fields having a `queryset` attribute but no `limit_choices_to` could no longer be used in ModelForms. Refs #2445. Thanks to artscoop for the report. | |||
| 2014-10-10 | Fixed #23623 -- Reduced memory consumption when generating ModelChoiceField ↵ | Thomas Chaumeny | |
| choices | |||
| 2014-09-08 | Fixed #23451 -- Fixed typo in inlineformset_factory() error message. | Petras Zdanavičius | |
| 2014-09-05 | Limited lines to 119 characters in django/ | Tim Graham | |
| refs #23395. | |||
| 2014-08-15 | Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed(). | Gabriel Muñumel | |
| 2014-07-31 | Fixed #22808 -- Made ModelMultipleChoiceField validation more robust to ↵ | Niclas Olofsson | |
| invalid data types.. Thanks Mattias Lindvall for the report and inital patch. | |||
| 2014-07-09 | Fixed #13794 -- Fixed to_field usage in BaseInlineFormSet. | Tim Graham | |
| Thanks sebastien at clarisys.fr for the report and gautier for the patch. | |||
| 2014-07-05 | Fixed various minor doc typos / references. | Daniel Hahler | |
| 2014-06-20 | Fixed #22838 -- Deprecated ModelChoiceField.cache_choices. | Marc Tamlyn | |
| Undocumented, untested and probably not even useful feature. | |||
| 2014-06-04 | Fixed #13776 -- Fixed ModelForm.is_valid() exception with non-nullable FK ↵ | Anubhav Joshi | |
| and blank=True. Thanks peterbe for the report. | |||
| 2014-05-15 | Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin. | Anders Steinlein | |
| Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x | |||
| 2014-03-30 | Corrected many style guide violations that the newest version of flake8 catches | Alex Gaynor | |
| 2014-03-22 | Made ModelForms raise ImproperlyConfigured if the list of fields is not ↵ | Tim Graham | |
| specified. Also applies to modelform(set)_factory and generic model views. refs #19733. | |||
| 2014-03-21 | Removed hard-coded help_text for ManyToManyFields that use a SelectMultiple ↵ | Tim Graham | |
| widget Per deprecation timeline; refs #9321. | |||
| 2014-03-08 | Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings | Claude Paroz | |
| Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | |||
| 2014-02-11 | Fixed #2445 -- Allowed limit_choices_to attribute to be a callable. | Christopher Adams | |
| ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now be a callable that returns either a ``Q`` object or a dict. Thanks michael at actrix.gen.nz for the original suggestion. | |||
| 2014-02-08 | Fixed #16192 -- Made unique error messages in ModelForm customizable. | Loic Bistuer | |
| Overriding the error messages now works for both unique fields, unique_together and unique_for_date. This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS since previously only fields' errors were customizable. Refs #20199. Thanks leahculver for the suggestion. | |||
| 2014-01-20 | Fixed #16905 -- Added extensible checks (nee validation) framework | Russell Keith-Magee | |
| This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844. | |||
| 2013-12-14 | Fixed E127 pep8 warnings. | Loic Bistuer | |
| 2013-12-07 | Fixed #21568 -- Added missing ModelMultipleChoiceField to_python method | Claude Paroz | |
| Thanks dibrovsd at gmail.com for the report and Simon Charette for the review. | |||
| 2013-11-30 | Fixed #20867 -- Added the Form.add_error() method. | Loic Bistuer | |
| Refs #20199 #16986. Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews. | |||
| 2013-11-28 | Fixed E125 pep8 warnings | Christopher Medrela | |
| 2013-11-25 | Fixed #21489 -- Make formsets directly importable from django.forms. | Loic Bistuer | |
| 2013-11-20 | Fixed #21472 -- Fixed inline formsets display when parent pk is 0 | Claude Paroz | |
| Thanks agale031176@gmail.com for the report. | |||
