summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-05 10:38:41 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-12-05 10:38:41 -0700
commitba9d7a35d8800fc2f2b0ed4994c9bc1b81cb7cc2 (patch)
tree1756eb0bbf0124b5803967698c11ed20e7586697
parent6d7785af2efad47e975648ee1ca70f662dbccb00 (diff)
downloadpyramid-ba9d7a35d8800fc2f2b0ed4994c9bc1b81cb7cc2.tar.gz
pyramid-ba9d7a35d8800fc2f2b0ed4994c9bc1b81cb7cc2.tar.bz2
pyramid-ba9d7a35d8800fc2f2b0ed4994c9bc1b81cb7cc2.zip
add sentence explaining what the decorator do and don't do in a bit more detail
-rw-r--r--docs/narr/views.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index fe4711ab6..320d20b0e 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -1507,8 +1507,10 @@ matches any model type, using no permission, registered against
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
+The mere existence of a ``@view_config`` decorator doesn't suffice to
+perform view configuration. All that the decorator does is "annotate"
+the function with your configuration declarations, it doesn't process
+them. To make :app:`Pyramid` process your
:class:`pyramid.view.view_config` declarations, you *must* do use the
``scan`` method of a :class:`pyramid.configuration.Configurator`: