From 35355a4ffedb2aeed52d5fe3034380ffc6a438db Mon Sep 17 00:00:00 2001 From: Ben Kraft Date: Fri, 11 Sep 2015 23:06:25 -0700 Subject: Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model. Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in particular it did not add the `_django_version` attribute added in 42736ac8. Now it will handle this and other custom `__reduce__` methods correctly. --- docs/releases/1.8.5.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.5.txt b/docs/releases/1.8.5.txt index b951ff98d8..93a5ec2ec0 100644 --- a/docs/releases/1.8.5.txt +++ b/docs/releases/1.8.5.txt @@ -56,3 +56,5 @@ Bugfixes * Fixed incorrect queries with multiple many-to-many fields on a model with the same 'to' model and with ``related_name`` set to '+' (:ticket:`24505`, :ticket:`25486`). + +* Fixed pickling a ``SimpleLazyObject`` wrapping a model (:ticket:`25389`). -- cgit v1.3