diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-11-12 21:35:52 +0200 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2013-11-16 20:07:35 +0200 |
| commit | 0e079e4331a8be4dbd18d5e5776116330b0a5e61 (patch) | |
| tree | f5547108801e6598768e530805fe19b18a5f580c /docs | |
| parent | b642d540d4ef2e72b0a89fe95b8777702ce08973 (diff) | |
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.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.6.1.txt | 2 |
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``. |
