diff options
| author | Marius Gedminas <marius@gedmin.as> | 2010-11-07 18:26:34 +0200 |
|---|---|---|
| committer | Marius Gedminas <marius@gedmin.as> | 2010-11-07 18:26:34 +0200 |
| commit | 9d33a1f071df207878b45df2cd5512dae1087bb3 (patch) | |
| tree | 85aa57bfc252b536c0bccf155e6ad2aad01296eb /docs/narr/templates.rst | |
| parent | 9504d9ae6beac35d1c2a2114d4236a056105c3d9 (diff) | |
| download | pyramid-9d33a1f071df207878b45df2cd5512dae1087bb3.tar.gz pyramid-9d33a1f071df207878b45df2cd5512dae1087bb3.tar.bz2 pyramid-9d33a1f071df207878b45df2cd5512dae1087bb3.zip | |
Minor documentation fixes.
Diffstat (limited to 'docs/narr/templates.rst')
| -rw-r--r-- | docs/narr/templates.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index 01227b6de..9722db6b2 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -212,7 +212,7 @@ response object returned by .. code-block:: python :linenos: - from pyramid.renderers.render_to_response + from pyramid.renderers import render_to_response def sample_view(request): response = render_to_response('templates/foo.pt', @@ -380,7 +380,7 @@ within the view before returning the dictionary. See :ref:`response_request_attrs` for more information. The same set of system values are provided to templates rendered via a -rendere view configuration as those provided to templates rendered +renderer view configuration as those provided to templates rendered imperatively. See :ref:`renderer_system_values`. |
