mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
0e079e4331
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.
25 lines
860 B
Plaintext
25 lines
860 B
Plaintext
==========================
|
|
Django 1.6.1 release notes
|
|
==========================
|
|
|
|
*Under development*
|
|
|
|
This is Django 1.6.1, a bugfix release for Django 1.6.
|
|
|
|
...
|
|
|
|
Bug fixes
|
|
=========
|
|
|
|
* Fixed ``BCryptSHA256PasswordHasher`` with py-bcrypt and Python 3 (#21398).
|
|
* Fixed a regression that prevented a ``ForeignKey`` with a hidden reverse
|
|
manager (``related_name`` ending with '+') from being used as a lookup for
|
|
``prefetch_related`` (#21410).
|
|
* Fixed :meth:`Queryset.datetimes<django.db.models.query.QuerySet.datetimes>`
|
|
raising ``AttributeError`` in some situations (#21432).
|
|
* 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``.
|