summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-01-26 07:03:54 -0500
committerTim Graham <timograham@gmail.com>2016-02-08 08:28:48 -0500
commit10a162809fa4de3a56bb7f2d3cb12b6b82a6f826 (patch)
tree1b1a345f17d01325db54ae14112c88aab0f82b25 /docs
parentdb9f21f0ad29db860a10c1192933a79b0524ebc6 (diff)
Refs #24007 -- Removed an apps.populate() call in model unpickling that can cause deadlocks.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.10.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt
index 29d27f36f2..0e7381a972 100644
--- a/docs/releases/1.10.txt
+++ b/docs/releases/1.10.txt
@@ -461,6 +461,16 @@ Since the introduction of migrations for the contrib apps in Django 1.8, the
tables of these custom user test models were not created anymore making them
unusable in a testing context.
+Apps registry is no longer auto-populated when unpickling models outside of Django
+----------------------------------------------------------------------------------
+
+The apps registry is no longer auto-populated when unpickling models. This was
+added in Django 1.7.2 as an attempt to allow unpickling models outside of
+Django, such as in an RQ worker, without calling ``django.setup()``, but it
+creates the possibility of a deadlock. To adapt your code in the case of RQ,
+you can `provide your own worker script <http://python-rq.org/docs/workers/>`_
+that calls ``django.setup()``.
+
Miscellaneous
-------------