﻿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
12104	Object->object lookup fails in blocktrans	philipn	nobody	"Lookups such as{{{ {{O.a}} }}}fail in {{{blocktrans}}} blocks.

Here is a complete example:

{{{
{% load i18n %}

<html>
<body>
This causes a keyerror:

{% blocktrans %}
Value 'a' of object O: {{ O.a }}
{% endblocktrans %}

The following, of course, works:

Value 'a' of object O: {{ O.a }}
</body>
</html>
}}}

With a view being:

{{{
def blocktrans(request):
    O = {'a': 'Foo!'}
    d = {
        'O': O,
    }
    return render_to_response('home.html', d)

}}}

I have attached a patch."	New feature	closed	Internationalization	1.1	Normal	fixed			Design decision needed	1	0	0	0	0	0
