summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-11-14 04:43:32 +0000
committerChris McDonough <chrism@agendaless.com>2008-11-14 04:43:32 +0000
commit91362d1cabc8429d9b31a1b64766fe03ece24767 (patch)
tree9fe3e6dc9380943d9b659696d4776fbf3dea3d03 /docs
parenta218d94844a007fadb3c89861cb632fdfd612b56 (diff)
downloadpyramid-91362d1cabc8429d9b31a1b64766fe03ece24767.tar.gz
pyramid-91362d1cabc8429d9b31a1b64766fe03ece24767.tar.bz2
pyramid-91362d1cabc8429d9b31a1b64766fe03ece24767.zip
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/views.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index d1678f92d..c35027eb9 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -214,6 +214,12 @@ Any time a model that is determined to be the :term:`context` provides
this interface, and a view named ``hello.html`` is looked up against
it as per the URL, the ``.views.hello_world`` view will be invoked.
+Note that views registered against a class take precedence over views
+registered for an interfaces when an ambiguity arises. If a view is
+registered for both the class type of the context and an interface
+implemented by the context, the view registered for the class will
+"win".
+
See :term:`Interface` in the glossary to find more information about
interfaces.