diff options
| author | Chris McDonough <chrism@plope.com> | 2011-09-24 03:56:48 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-09-24 03:56:48 -0400 |
| commit | 4937d9e5280fff849b346dcf6c1833ef6fe95119 (patch) | |
| tree | 69fe13b7853a3da419b03a7987e92e43753b65b5 /docs/tutorials/wiki2 | |
| parent | bfb71c175bb5de7a0c22599979d269d92f12ed27 (diff) | |
| parent | 9a784a4c94946872c493627e4295a26a3e608439 (diff) | |
| download | pyramid-4937d9e5280fff849b346dcf6c1833ef6fe95119.tar.gz pyramid-4937d9e5280fff849b346dcf6c1833ef6fe95119.tar.bz2 pyramid-4937d9e5280fff849b346dcf6c1833ef6fe95119.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
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 |
