Printing lists with Mako template (Django Join tag)
问题 In this article Django templates like this {% for i in mylist %} <tr> <td>{{i.replist|join:"</td><td>" }}</td> </tr> {% endfor %} prints the list mylist which is an object. Can this be done in Mako? Thanks. EDIT class Rep(db.Model): author = db.UserProperty() replist = db.ListProperty(str) unique = db.ListProperty(str) date = db.DateTimeProperty(auto_now_add=True) class MainPage(webapp.RequestHandler): def get(self): user = users.get_current_user() greeting = None if user: greeting = (