﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20924	LazyObject missing __contains__ and __len__ proxy	nickbruun	nobody	"`django.utils.functionals.LazyObject` does not proxy the `__contains__` and `__len__` data methods. This means that the following use cases for lazy objects that return lists, sets or dicts are not possible:

{{{
key in lazy_object
len(lazy_object)
}}}

Fixing this is trivial as has been shown by the current proxying implementation of `__getitem__`, `__setitem__` and `__delitem__`. Regression test and patch is available on Github at https://github.com/nickbruun/django."	Bug	closed	Utilities	1.5	Normal	fixed			Accepted	1	0	0	0	1	0
