1
0
mirror of https://github.com/django/django.git synced 2025-03-14 11:20:46 +00:00
django/tests/utils_tests
Ben Kraft 63a1e912a7 [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
2015-10-03 13:01:08 -04:00
..
2013-10-10 16:49:20 -04:00