diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-22 15:17:47 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-22 15:17:47 +0000 |
| commit | 262e7750415c6e971fd30520065572cdd74c7068 (patch) | |
| tree | 95def1ce20818f3fce341af9cbfc8a19abaaa669 /docs/narr/templates.rst | |
| parent | 7186f709a8d08636b52a440cc2acfa213a1fa0f0 (diff) | |
| download | pyramid-262e7750415c6e971fd30520065572cdd74c7068.tar.gz pyramid-262e7750415c6e971fd30520065572cdd74c7068.tar.bz2 pyramid-262e7750415c6e971fd30520065572cdd74c7068.zip | |
Tweak.
Diffstat (limited to 'docs/narr/templates.rst')
| -rw-r--r-- | docs/narr/templates.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index 0b835f942..7c8d8bfba 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -4,7 +4,8 @@ Templates A :term:`template` is a usually file on disk which can be used to render data provided by a :term:`view`, surrounded by more static information. :mod:`repoze.bfg` offers a number of ways to perform -templating tasks. +templating tasks "out of the box", and provides alternative templating +language support via add-on "bindings" packages. Templating With :term:`Chameleon` (:term:`chameleon.zpt`) Page Templates ------------------------------------------------------------------------ @@ -54,7 +55,7 @@ Relative to the directory in which the ``views.py`` file which names it lives, which is usually the :mod:`repoze.bfg` application's :term:`package` directory. A path passed to ``render_template_to_response`` can also be absolute (starting with a -slash on UNIX). +slash on UNIX or a drive letter prefix on Windows). ``render_template_to_response`` always returns a Response object which has a *status code* of ``200 OK`` and a *content-type* of |
