Thanks, Reinout.
I wound up creating a custom "getter" filter so I could do {{ MYDICT|
get:myform.somefiled.value }} - which I'm surprised isn't a built-in,
actually. But I think your suggestion is a good alternative.
Tony
On Aug 23, 1:40 pm, Reinout van Rees wrote:
> On
On 23-08-11 21:16, Tony Schmidt wrote:
I thought this should be the proper syntax in my template:
{{ MYDICT.myform.somefield.value }}
But I get a "can't parse remainder error."
Just putting {{ myform.somefield.value }} gives me "3" and {{ MYDICT.
3 }} gives me the dictionary value I want.
Am
I thought this should be the proper syntax in my template:
{{ MYDICT.myform.somefield.value }}
But I get a "can't parse remainder error."
Just putting {{ myform.somefield.value }} gives me "3" and {{ MYDICT.
3 }} gives me the dictionary value I want.
Am I missing something?
--
You received
3 matches
Mail list logo