Re: Twisted web templates: do they support loops?

[email protected]
Newsgroups gmane.comp.python.twisted.web
Message-ID <20111012214847.23178.1929438070.divmod.xquotient.403@localhost.localdomain>
On 09:43 pm, [email protected] wrote:
>Looking at the (somewhat sparse) docs for twisted web templates:
>http://twistedmatrix.com/documents/current/web/howto/twisted- 
>templates.html
>
>I see no mention of loops, like in Jinja2:
>
>{% for item in items %}
><sometag>{{item.someproperty}}</sometag>
>{% endfor %}
>
>Is something like this supported?

See the recently added documentation on just this topic:

http://twistedmatrix.com/trac/changeset/32754

Jean-Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.