Permalink
Browse files

inappropriate mentions of alternate declarative forms

  • Loading branch information...
1 parent cf7d8b9 commit 8d7dbf0debab8e408e659411618df0faaed13afd @mcdonc mcdonc committed Jan 30, 2011
Showing with 7 additions and 9 deletions.
  1. +7 −9 docs/narr/viewconfig.rst
View
@@ -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``:

0 comments on commit 8d7dbf0

Please sign in to comment.