From 3db3ab71e97d34260057a6f51d4b2f72da30dc8d Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Mon, 19 Oct 2015 14:17:55 -0400 Subject: Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps. Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review. --- docs/releases/1.8.6.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.6.txt b/docs/releases/1.8.6.txt index 8fb9e16be5..1c2af01c7d 100644 --- a/docs/releases/1.8.6.txt +++ b/docs/releases/1.8.6.txt @@ -29,3 +29,8 @@ Bugfixes * Avoided a confusing stack trace when starting :djadmin:`runserver` with an invalid :setting:`INSTALLED_APPS` setting (:ticket:`25510`). This regression appeared in 1.8.5 as a side effect of fixing :ticket:`24704`. + +* Made deferred models use their proxied model's ``_meta.apps`` for caching + and retrieval (:ticket:`25563`). This prevents any models generated in data + migrations using ``QuerySet.defer()`` from leaking to test and application + code. -- cgit v1.3