diff options
| author | Ben Kraft <benjaminjkraft@gmail.com> | 2015-09-11 23:06:25 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-10-03 13:01:08 -0400 |
| commit | 63a1e912a78a4a18ca675ecc0db5be6f48985af5 (patch) | |
| tree | 9d08306f7f9a61cd0a8af807e048887aa14d6cea /docs | |
| parent | 0633d2285e26d844104f944b95c4fca3e5137651 (diff) | |
[1.9.x] 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.
Backport of 35355a4ffedb2aeed52d5fe3034380ffc6a438db from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.8.5.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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`). |
