--
Ticket URL: <https://code.djangoproject.com/ticket/23782>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
I see this operator in SimpleLazyObject here:
https://github.com/django/django/blob/1.7/django/utils/functional.py#L330
Also added a test to check if it behaves as expected:
https://github.com/django/django/pull/3514
--
Ticket URL: <https://code.djangoproject.com/ticket/23782#comment:1>
* status: new => closed
* resolution: => worksforme
Comment:
What is more, these tests already exists in
https://github.com/django/django/blob/master/tests/utils_tests/test_lazyobject.py
The __contains__ method was added to the code in this commit:
https://github.com/django/django/commit/7a698c05b56d7d5e267241dc71c16c403efd2965
So I'm closing this issue as worksforme
--
Ticket URL: <https://code.djangoproject.com/ticket/23782#comment:2>