Changes between Version 16 and Version 17 of HelperFunctions
- Timestamp:
- Aug 28, 2007, 7:05:48 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HelperFunctions
v16 v17 82 82 83 83 {{{ 84 #! xml84 #!genshi 85 85 <table py:with="fields = ['a', 'b', 'c', 'd', 'e']"> 86 86 <tr py:for="row in group(fields, 2)"> … … 184 184 185 185 {{{ 186 #! xml186 #!genshi 187 187 <div py:with="items, num_items, num_pages = paginate(range(1, 24), cur_page - 1)"> 188 188 <h1>Page ${cur_page} of ${num_pages}</h1>