mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
This reverts 4f8c7fd9d9 and adds
two regression tests:
- test_related_manager_refresh(), and
- test_create_copy_with_m2m().
Thanks joeli for the report.
This commit is contained in:
@@ -530,7 +530,8 @@ Miscellaneous
|
||||
* Related managers for :class:`~django.db.models.ForeignKey`,
|
||||
:class:`~django.db.models.ManyToManyField`, and
|
||||
:class:`~django.contrib.contenttypes.fields.GenericRelation` are now cached
|
||||
on the :class:`~django.db.models.Model` instance to which they belong.
|
||||
on the :class:`~django.db.models.Model` instance to which they belong. *This
|
||||
change was reverted in Django 4.1.2.*
|
||||
|
||||
* The Django test runner now returns a non-zero error code for unexpected
|
||||
successes from tests marked with :py:func:`unittest.expectedFailure`.
|
||||
|
||||
Reference in New Issue
Block a user