summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2013-11-12 21:35:52 +0200
committerAnssi Kääriäinen <akaariai@gmail.com>2013-11-16 20:15:46 +0200
commit1fd762c106ed0e6888fe66e7513718ca379385c0 (patch)
tree577668423296d1402d89400434261a5e76721761 /docs
parente8dea1f35cc037d104924994b8afbc5549b5c49e (diff)
[1.6.x] Fixed #21428 -- editable GenericRelation regression
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. Backpatch of 0e079e4331a8be4dbd18d5e5776116330b0a5e61 from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.6.1.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/releases/1.6.1.txt b/docs/releases/1.6.1.txt
index baf53e5cd3..55115704bb 100644
--- a/docs/releases/1.6.1.txt
+++ b/docs/releases/1.6.1.txt
@@ -20,3 +20,5 @@ Bug fixes
* Fixed :class:`~django.contrib.auth.backends.ModelBackend` raising
``UnboundLocalError`` if :func:`~django.contrib.auth.get_user_model`
raised an error (#21439).
+* Fixed a regression that prevented editable ``GenericRelation`` subclasses
+ from working in ``ModelForms``.