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:03:05 -0400 |
| commit | c03f0c282d22b7753a48cb46af33c4d3a73397ee (patch) | |
| tree | d814833b53906887e2c3340ba36218f79747a848 /docs | |
| parent | 29c9a7d22096bd9203b956d3ac6a7876009c2090 (diff) | |
[1.8.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`). |
