Browse files

Adding docs on configuring template instances.

branch : trunk
  • Loading branch information...
1 parent 6634e76 commit 7ebdadbf1cb52cbe6b7fe0182f809f3e8d4eef11 @bbangert bbangert committed Mar 16, 2008
Showing with 14 additions and 0 deletions.
  1. +14 −0 pylons/
@@ -73,6 +73,20 @@ def index(self):
- N_ -- gettext no-op function to mark a string for translation, but
doesn't actually translate
+Configuring the template language
+The template engine is created in the projects
+``config/`` and attached to the ``app_globals`` (g)
+instance. Configuration options can be directly passed into the
+template engine, and are used by the render functions.
+.. warning::
+ Don't change the variable name on ``app_globals`` that the template
+ loader is attached to if you want to use the render_* functions
+ that ``pylons.templating`` comes with. The render_* functions look
+ for the template loader to render the template.
Writing your own render function

0 comments on commit 7ebdadb

Please sign in to comment.