diff options
| author | Karl O. Pinc <kop@meme.com> | 2013-10-02 11:33:50 -0500 |
|---|---|---|
| committer | Karl O. Pinc <kop@meme.com> | 2013-10-02 11:33:50 -0500 |
| commit | 77edee7e91356f4f0f1d12c2dd159965b0576109 (patch) | |
| tree | 08fa2763c1ad732ec8d50b43572f1645a28281e8 /docs | |
| parent | f24ac4c471a458aec0cde232925c8fab652bafcc (diff) | |
| download | pyramid-77edee7e91356f4f0f1d12c2dd159965b0576109.tar.gz pyramid-77edee7e91356f4f0f1d12c2dd159965b0576109.tar.bz2 pyramid-77edee7e91356f4f0f1d12c2dd159965b0576109.zip | |
Docs: project.rst: Emphasize key takeaway; use dicts to supply values to templates.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/project.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 09e07ee6d..359fb31d3 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -878,6 +878,8 @@ This view callable function is handed a single piece of information: the :term:`request`. The *request* is an instance of the :term:`WebOb` ``Request`` class representing the browser's request to our server. +.. note:: Dictionaries (typically) provide values to :term:`template`s. + This view is configured to invoke a :term;`renderer` on a template. The dictionary the view returns (on line 6) provides the value the renderer substitutes into the template when generating HTML. The renderer then |
