From 91362d1cabc8429d9b31a1b64766fe03ece24767 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 14 Nov 2008 04:43:32 +0000 Subject: --- docs/narr/views.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3