diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-18 03:33:35 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-18 03:33:35 -0500 |
| commit | 92c3e502494714884b7a051721c9b322027369a1 (patch) | |
| tree | 3cd5a871ff5b13cf48be0fec45b9f13c8d451341 /docs/zcml/view.rst | |
| parent | 515d0f977f21bf28602505b859f64f10dd2f5f59 (diff) | |
| download | pyramid-92c3e502494714884b7a051721c9b322027369a1.tar.gz pyramid-92c3e502494714884b7a051721c9b322027369a1.tar.bz2 pyramid-92c3e502494714884b7a051721c9b322027369a1.zip | |
resource -> asset
Diffstat (limited to 'docs/zcml/view.rst')
| -rw-r--r-- | docs/zcml/view.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/zcml/view.rst b/docs/zcml/view.rst index 74d497cb3..6887f88fb 100644 --- a/docs/zcml/view.rst +++ b/docs/zcml/view.rst @@ -157,7 +157,7 @@ Predicate Attributes representing the class that a graph traversal parent object of the :term:`context` must be an instance of (or :term:`interface` that a parent object must provide) in order for this view to be found and - called. Your models must be "location-aware" to use this feature. + called. Your resources must be "location-aware" to use this feature. See :ref:`location_aware` for more information about location-awareness. @@ -222,7 +222,7 @@ Examples :linenos: <view - context=".models.MyModel" + context=".resources.MyResource" view=".views.hello_world" /> @@ -232,7 +232,7 @@ Examples :linenos: <view - context=".models.MyModel" + context=".resources.MyResource" view=".views.hello_world_post" request_method="POST" /> |
