diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-05 10:35:09 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-05 10:35:09 -0700 |
| commit | 6d7785af2efad47e975648ee1ca70f662dbccb00 (patch) | |
| tree | 183a07ecc45d49259c56e3d84b9c10daf13e3999 /docs | |
| parent | 850f7ea3d17876931ac6365c3e1f7c47927a6780 (diff) | |
| download | pyramid-6d7785af2efad47e975648ee1ca70f662dbccb00.tar.gz pyramid-6d7785af2efad47e975648ee1ca70f662dbccb00.tar.bz2 pyramid-6d7785af2efad47e975648ee1ca70f662dbccb00.zip | |
use commas instead of slashes for readability
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/views.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 749acba58..fe4711ab6 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -1342,9 +1342,10 @@ the usage of the configured view. ``containment`` This value should be a reference to a Python class or - :term:`interface` that a parent object in the :term:`lineage` must - provide in order for this view to be found and called. The nodes in - your object graph must be "location-aware" to use this feature. + :term:`interface` that a parent object in the context's + :term:`lineage` must provide in order for this view to be found and + called. The nodes in your object graph must be "location-aware" to + use this feature. If ``containment`` is not supplied, the interfaces and classes in the lineage are not considered when deciding whether or not to @@ -1503,8 +1504,8 @@ All arguments to ``view_config`` may be omitted. For example: Such a registration as the one directly above implies that the view name will be ``my_view``, registered with a ``context`` argument that matches any model type, using no permission, registered against -requests with any request method / request type / request param / -route name / containment. +requests with any request method, request type, request param, +route name, or containment. The mere existence of a ``@view_config`` decorator doesn't suffice to perform view configuration. To make :app:`Pyramid` process your |
