diff --git django/utils/functional.py django/utils/functional.py
index 13aec9c..48ab673 100644
|
|
class SimpleLazyObject(LazyObject):
|
326 | 326 | # Python 3.3 will call __reduce__ when pickling; these methods are needed |
327 | 327 | # to serialize and deserialize correctly. They are not called in earlier |
328 | 328 | # versions of Python. |
329 | | @classmethod |
330 | | def __newobj__(cls, *args): |
331 | | return cls.__new__(cls, *args) |
332 | | |
333 | 329 | def __reduce__(self): |
334 | | return (self.__newobj__, (self.__class__,), self.__getstate__()) |
| 330 | return (self.__class__.__new__, (self.__class__,), self.__getstate__()) |
335 | 331 | |
336 | 332 | # Return a meaningful representation of the lazy object for debugging |
337 | 333 | # without evaluating the wrapped object. |