On Oct 6, 12:46 pm, Stephen Cheng <[EMAIL PROTECTED]> wrote:
> Hi django friends
>
> I got a problem with varible reference in template. the case is like
> this:
>
> I pass a map to a template, I am trying to get map[key], in the case
> the key= modelA.id, then I have to use map.modelA.id, then it
Hi django friends
I got a problem with varible reference in template. the case is like
this:
I pass a map to a template, I am trying to get map[key], in the case
the key= modelA.id, then I have to use map.modelA.id, then it won't
work.
How can I conquer this? Can I assign modelA.id to another v
2 matches
Mail list logo