| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2013-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
| 2013-10-18 | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | |
| 2013-10-18 | Fixed #21268 -- Fixed E303 pep8 warnings | Alasdair Nicol | |
| 2013-10-14 | Fixed #19617 -- Refactored Form metaclasses to support more inheritance ↵ | Loic Bistuer | |
| scenarios. Thanks apollo13, funkybob and mjtamlyn for the reviews. | |||
| 2013-09-16 | Fixed #17627 -- Renamed util.py files to utils.py | Tim Graham | |
| Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch. | |||
| 2013-08-30 | Fixed #20989 -- Removed useless explicit list comprehensions. | Simon Charette | |
| 2013-08-29 | Fixed #20989 -- Removed explicit list comprehension inside dict() and tuple() | Tim Graham | |
| Thanks jeroen.pulles at redslider.net for the suggestion and helper script. | |||
| 2013-08-22 | Fixed model.__eq__ and __hash__ for no pk value cases | Anssi Kääriäinen | |
| The __eq__ method now considers two instances without primary key value equal only when they have same id(). The __hash__ method raises TypeError for no primary key case. Fixed #18864, fixed #18250 Thanks to Tim Graham for docs review. | |||
| 2013-08-04 | Deprecated SortedDict (replaced with collections.OrderedDict) | Curtis Maloney | |
| Thanks Loic Bistuer for the review. | |||
| 2013-07-29 | Removed most of absolute_import imports | Claude Paroz | |
| Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||
| 2013-07-23 | Fixed #10284 -- ModelFormSet.save(commit=False) no longer deletes objects | Tim Graham | |
| Thanks laureline.guerin@ and Wedg. | |||
| 2013-07-13 | Fixed #20582 -- Allowed default Form.label_suffix to be translated | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2013-06-29 | Advanced deprecation warnings for Django 1.7. | Aymeric Augustin | |
