[ZPT] tal:repeat over the sorted keys of a dictionary

Fred L. Drake, Jr. fred at zope.com
Fri Jul 25 12:26:53 EDT 2003


Shane Hathaway writes:
 >         <ul tal:repeat="key licenses/keys/format:sort">
 >             <li tal:content="licenses/key" />
 >         </ul>

Cool, but I'd call it format:sorted.  (Either would be better than
format:sordid though.)


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation



More information about the ZPT mailing list