summaryrefslogtreecommitdiff
path: root/repoze/bfg/template.py
AgeCommit message (Collapse)Author
2009-05-27- Remove ``repoze.bfg.template`` module. All imports from thisChris McDonough
package have been deprecated since version 0.3.8. Instead, import ``get_template``, ``render_template``, and ``render_template_to_response`` from the ``repoze.bfg.chameleon_zpt``module.
2009-05-01Merge "c-free" branch to trunk.Chris McDonough
2009-01-08Fixed typo. Patch contributed by Peter Koppatz.Malthe Borch
2008-09-28 - A deprecation warning is now issued when old API names from theChris McDonough
``repoze.bfg.templates`` module are imported.
2008-09-26Move to Chameleon.Chris McDonough
2008-09-090.3.7: z3c.pt became a namespace package.Chris McDonough
2008-08-23 - Read and write a pickled ZCML actions list, stored asChris McDonough
``configure.zcml.pck`` next to the applications's "normal" configuration file. A given bfg app will usually start faster if it's able to read the pickle data. It fails gracefully to reading the real ZCML file if it cannot read the pickle.
2008-08-17 - Add ``<bfg:settings>`` directive. This directive currently allowsChris McDonough
only one attribute: ``reload_templates``. If e.g.:: <bfg:settings reload_templates="true"/> is in your application's ZCML, you will not need to restart the appserver in order for ``z3c.pt`` or XSLT template changes to be detected and displayed.
2008-08-16Add "get_template" to template module.Chris McDonough
2008-07-19 - The concept of "view factories" was removed in favor of alwaysChris McDonough
calling a view, which is a callable that returns a response directly (as opposed to returning a view). As a result, the ``factory`` attribute in the bfg:view ZCML statement has been renamed to ``view``. Various interface names were changed also. - ``render_template`` and ``render_transform`` no longer return a Response object. Instead, these return strings. The old behavior can be obtained by using ``render_template_to_response`` and ``render_transform_to_response``.
2008-07-18Using Chris's help, changed signature of interface to support what the XSLT ↵Paul Everitt
processors expects. Fixed tests to assert that interface.
2008-07-16Doc tweaks.Chris McDonough
2008-07-16(no commit message)Paul Everitt
2008-07-14Misc fixesChris McDonough
2008-07-14Render templates explicitly in views.Chris McDonough
2008-07-14Less magical templated view model: make custom template views responsible for Chris McDonough
knowing their template's name.
2008-07-08Reuse the same PageTemplateFile for all requests to the same view.Chris McDonough
2008-07-08Call it TemplateView.Chris McDonough
2008-07-08Add a browser:page directive type and make our sample app use it.Chris McDonough