mirror of
https://github.com/django/django.git
synced 2025-10-29 00:26:07 +00:00
Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in particular it did not add the `_django_version` attribute added in42736ac8. Now it will handle this and other custom `__reduce__` methods correctly. Backport of35355a4ffefrom master