Hi,

Can someone please explain to me how  I can create loops in Templator?
I tried following the docs but I get errors.

I would like to do something like this:


<div id="articleList">
$for article in articleData:
    <h2>article.title</h2>
   <p>article.content</p>
</div>

But it doesn't work for me :/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to