diff options
| author | michr <michr@webhippo.net> | 2011-09-23 18:48:28 -0700 |
|---|---|---|
| committer | michr <michr@webhippo.net> | 2011-09-23 18:48:28 -0700 |
| commit | 012b9762cd0b114b6afbf2d6356554b51706804a (patch) | |
| tree | c57c9a9797e29027c027c4eb65ad4735ca7a6214 /docs/tutorials/wiki2 | |
| parent | f487b2f1e5f6d4badf5eda64c0ee4fba699bfb92 (diff) | |
| download | pyramid-012b9762cd0b114b6afbf2d6356554b51706804a.tar.gz pyramid-012b9762cd0b114b6afbf2d6356554b51706804a.tar.bz2 pyramid-012b9762cd0b114b6afbf2d6356554b51706804a.zip | |
fixed up all the warning dealing ..note and ..warn
added a hide toc for glossary to prevent warnings
Diffstat (limited to 'docs/tutorials/wiki2')
| -rw-r--r-- | docs/tutorials/wiki2/definingviews.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst index 8f6dd6455..234f91246 100644 --- a/docs/tutorials/wiki2/definingviews.rst +++ b/docs/tutorials/wiki2/definingviews.rst @@ -7,7 +7,9 @@ application is typically a simple Python function that accepts a single parameter named :term:`request`. A view callable is assumed to return a :term:`response` object. -.. note:: A :app:`Pyramid` view can also be defined as callable +.. note:: + + A :app:`Pyramid` view can also be defined as callable which accepts *two* arguments: a :term:`context` and a :term:`request`. You'll see this two-argument pattern used in other :app:`Pyramid` tutorials and applications. Either calling |
