示例#1
0
 def _as_ul (self):
   #lst = [(p,self.__dict__ [slugify(p)]) for p in self.pagelist]
   return ul (li ([link (p, href=o._url, title=o.title) for p,o in self._pagelist]))
示例#2
0
 def _as_ul (self, *args, **kw):
   return ul (li (self._links))