summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-30 16:56:01 -0500
committerChris McDonough <chrism@plope.com>2011-01-30 16:56:01 -0500
commit8d7dbf0debab8e408e659411618df0faaed13afd (patch)
tree040539a8a5271ddabc61fe0cb40bd3ea675242d9
parentcf7d8b9e3c445716c9671c79acdd99ec05389bb1 (diff)
downloadpyramid-8d7dbf0debab8e408e659411618df0faaed13afd.tar.gz
pyramid-8d7dbf0debab8e408e659411618df0faaed13afd.tar.bz2
pyramid-8d7dbf0debab8e408e659411618df0faaed13afd.zip
inappropriate mentions of alternate declarative forms
-rw-r--r--docs/narr/viewconfig.rst16
1 files changed, 7 insertions, 9 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index 63a1b11d6..1e32e200e 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -360,8 +360,7 @@ View Configuration Using the ``@view_config`` Decorator
For better locality of reference, you may use the
:class:`pyramid.view.view_config` decorator to associate your view functions
-with URLs instead of using :term:`ZCML` or imperative configuration for the
-same purpose.
+with URLs instead of using imperative configuration for the same purpose.
.. warning::
@@ -370,13 +369,12 @@ same purpose.
declarations.
Usage of the ``view_config`` decorator is a form of :term:`declarative
-configuration`, like ZCML, but in decorator form.
-:class:`~pyramid.view.view_config` can be used to associate :term:`view
-configuration` information -- as done via the equivalent imperative code or
-ZCML -- with a function that acts as a :app:`Pyramid` view callable. All
-arguments to the :meth:`pyramid.config.Configurator.add_view` method (save
-for the ``view`` argument) are available in decorator form and mean precisely
-the same thing.
+configuration` in decorator form. :class:`~pyramid.view.view_config` can be
+used to associate :term:`view configuration` information -- as done via the
+equivalent imperative code -- with a function that acts as a :app:`Pyramid`
+view callable. All arguments to the
+:meth:`pyramid.config.Configurator.add_view` method (save for the ``view``
+argument) are available in decorator form and mean precisely the same thing.
An example of the :class:`~pyramid.view.view_config` decorator might reside in
a :app:`Pyramid` application module ``views.py``: