Changes between Version 14 and Version 15 of HelperFunctions
- Timestamp:
- Jun 19, 2007, 11:56:32 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HelperFunctions
v14 v15 1 1 = Helper functions for use in Genshi templates = 2 2 [[PageOutline(2)]] 3 Often you need non-trivial presentation logic in templates, but Genshi does not (yet) let you drop into straight Python. In Genshi, such presentation logic must be either performed in the controller (i.e. the Python code feeding the template with dat e), or in ''helper functions'' that are called from within template expressions.3 Often you need non-trivial presentation logic in templates, but Genshi does not (yet) let you drop into straight Python. In Genshi, such presentation logic must be either performed in the controller (i.e. the Python code feeding the template with data), or in ''helper functions'' that are called from within template expressions. 4 4 5 5 This page serves as a place where generalized functions that solve common tasks in presentation logic can be collected. At some point, Genshi might include a library of such functions.