| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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. | |||
| 2013-11-16 | Fixed a regression caused by fix for #21428 | Anssi Kääriäinen | |
| On Python 3 sorting Fields mixed with GenericForeignKeys doesn't work as GenericForeignKey isn't a subclass of django.db.models.fields.Field. Refs #21428. | |||
| 2013-11-16 | Fixed #21428 -- editable GenericRelation regression | Anssi Kääriäinen | |
| The GenericRelation refactoring removed GenericRelations from model._meta.many_to_many. This had the side effect of disallowing editable GenericRelations in ModelForms. Editable GenericRelations aren't officially supported, but if we don't fix this we don't offer any upgrade path for those who used the ability to set editable=True in GenericRelation subclass. Thanks to Trac alias joshcartme for the report and stephencmd and Loic for working on this issue. | |||
| 2013-11-03 | Fixed all E226 violations | Alex Gaynor | |
| 2013-11-03 | Fixed #20849 -- ModelForms do not work well with prefetch_related. | Jim Bailey | |
| model_to_dict() (used when rendering forms) queries the database to get the list of primary keys for ManyToMany fields. This is unnecessary if the field queryset has been prefetched, all the keys are already in memory and can be obtained with a simple iteration. | |||
| 2013-10-30 | Fixed #14877 -- repeated deletion using formsets | Anssi Kääriäinen | |
| When a formset contained deletion for an existing instance, and the instance was already deleted, django threw an exception. A common cause for this was resubmit of the formset. Original patch by Trac alias olau. In addition this commit cleaned some code in _construct_form(). This was needed as the primary key value the user submitted wasn't converted correctly to python value in case the primary key field was also a related field. | |||
| 2013-10-24 | Start attacking E231 violations | Alex Gaynor | |
| 2013-10-23 | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | |
