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
&g
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
else:
ret += loop['counter0']*nestedlen
# go to next-up level
parentloop = loop.get('parentloop', None)
if parentloop:
loop = parentloop
else:
break
level += 1
return ret
===cut===
Best regards
/Yosifov Pavel
--~--~---
3 matches
Mail list logo