Fixed #26286 -- Prevented content type managers from sharing their cache.

This should prevent managers methods from returning content type instances
registered to foreign apps now that these managers are also attached to models
created during migration phases.

Thanks Tim for the review.

Refs #23822.
This commit is contained in:
Simon Charette 2015-12-18 14:49:23 -05:00
parent b9519b2730
commit 3938b3ccaa
4 changed files with 30 additions and 10 deletions

View file

@ -26,3 +26,6 @@ Bugfixes
``URLValidator`` to fix a regression in Django 1.8 (:ticket:`26204`).
* Fixed ``BoundField`` to reallow slices of subwidgets (:ticket:`26267`).
* Prevented ``ContentTypeManager`` instances from sharing their cache
(:ticket:`26286`).

View file

@ -49,3 +49,6 @@ Bugfixes
* Fixed a crash when passing a nonexistent template name to the cached template
loader's ``load_template()`` method (:ticket:`26280`).
* Prevented ``ContentTypeManager`` instances from sharing their cache
(:ticket:`26286`).