Re: Tag arguments rendering

2008-07-01 Thread Yosifov Pavel
On 2 июл, 10:54, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2008-07-01 at 20:44 -0700, Yosifov Pavel wrote: > > I made own tags. Sometimes I want to "rendering" arguments (when > > arguments of the tag are Django-template-expressions). So, I use >

Tag arguments rendering

2008-07-01 Thread Yosifov Pavel
I made own tags. Sometimes I want to "rendering" arguments (when arguments of the tag are Django-template-expressions). So, I use template.render() method. All is OK but it's look like this: {% some_tag {{var}} %} but in built-in tags this is usually without {{..}}: {% builtin_tag var %} What i

May be useful tags (flatindex, table with shape)?

2008-02-16 Thread Yosifov Pavel
uot;weight" of ranking level. Ranking level add # nestedlen to flatindex if move by 1 (like hypercube). nestedlen *= loop['counter0'] + loop['revcounter0'] + 1 else: ret += loop['counter0']*nestedlen # go to next-up l