{{{
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/20924>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
The specific URL for the branch is
https://github.com/nickbruun/django/tree/ticket_20924 and the pull request
is at https://github.com/django/django/pull/1479.
--
Ticket URL: <https://code.djangoproject.com/ticket/20924#comment:1>
* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Please untick "Patch needs improvement" when you can update the PR per the
comment, thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/20924#comment:2>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/20924#comment:3>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/20924#comment:4>
* needs_better_patch: 1 => 0
Comment:
Patch updated.
--
Ticket URL: <https://code.djangoproject.com/ticket/20924#comment:5>
* status: new => closed
* resolution: => fixed
Comment:
Fixed by aa01c99f5587b36c354e80c682ad52e1a3b41455
--
Ticket URL: <https://code.djangoproject.com/ticket/20924#comment:6>