| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-12-24 | Fixed #36810 -- Avoided infinite recursion in SimpleLazyObject.__repr__(). | Sean | |
| Detect when `SimpleLazyObject._setupfunc` is a bound method of the same instance to use a safe representation and avoid infinite recursion. | |||
| 2023-08-20 | Fixed utils_tests.test_lazyobject.SimpleLazyObjectPickleTestCase. | Mariusz Felisiak | |
| SimpleLazyObjectPickleTestCase executes database queries so it must inherit from django.test.TestCase. | |||
| 2022-02-17 | Refs #28358 -- Fixed infinite recursion in LazyObject.__getattribute__(). | Matthias Kestenholz | |
| Regression in 97d7990abde3fe4b525ae83958fd0b52d6a1d13f. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Theo Alexiou <theofilosalexiou@gmail.com> | |||
| 2022-02-16 | Fixed #28358 -- Prevented LazyObject from mimicking nonexistent attributes. | Theo Alexiou | |
| Thanks Sergey Fedoseev for the initial patch. | |||
| 2022-02-10 | Fixed #26287 -- Added support for addition operations to SimpleLazyObject. | Theo Alexiou | |
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2018-09-19 | Fixed #29772 -- Made LazyObject proxy __lt__() and __gt__(). | Javier Buzzi | |
| 2017-07-12 | Refs #28389 -- Added release note and test for pickling of LazyObject when ↵ | Sergey Fedoseev | |
| wrapped object doesn't have __reduce__(). Forwardport of 30f334cc58e939c7d9bd8455c80bd066fbde9f2b from stable/1.11.x | |||
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-11-14 | Fixed #27463 -- Fixed E741 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-07-21 | Made miscellaneous code cleanups | Dmitry Dygalo | |
| 2016-01-26 | Fixed #26122 -- Fixed copying a LazyObject | Ben Kraft | |
| Shallow copying of `django.utils.functional.LazyObject` or its subclasses has been broken in a couple of different ways in the past, most recently due to 35355a4. | |||
| 2015-10-03 | Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model. | Ben Kraft | |
| 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. | |||
| 2015-03-08 | Fixed #23838 -- added missing `__iter__` to LazyObject | Rik | |
| 2014-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-09-29 | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. | Thomas Chaumeny | |
| Thanks Collin Anderson for the review. | |||
| 2014-03-27 | Fixed a deprecation warning on Python 3. | Tim Graham | |
| 2014-03-13 | Fixed #21840 -- Moved dunder methods from SimpleLazyObject to LazyObject. | Baptiste Mispelon | |
| This commit also added tests for LazyObject and refactored the testsuite of SimpleLazyObject so that it can share test cases with LazyObject. | |||
