From 522b0bc91f6eddfcc8b8cc0f3d3566983f5bdfc2 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Mon, 19 Oct 2015 14:17:55 -0400 Subject: [1.9.x] 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. Backport of 3db3ab71e97d34260057a6f51d4b2f72da30dc8d from master --- docs/releases/1.8.6.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.6.txt b/docs/releases/1.8.6.txt index 178d714f01..1c2af01c7d 100644 --- a/docs/releases/1.8.6.txt +++ b/docs/releases/1.8.6.txt @@ -25,3 +25,12 @@ Bugfixes * Allowed filtering over a ``RawSQL`` annotation (:ticket:`25506`). * Made the ``Concat`` database function idempotent on SQLite (:ticket:`25517`). + +* 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