Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

inappropriate mentions of alternate declarative forms

  • Loading branch information...
commit 8d7dbf0debab8e408e659411618df0faaed13afd 1 parent cf7d8b9
Chris McDonough authored January 30, 2011

Showing 1 changed file with 7 additions and 9 deletions. Show diff stats Hide diff stats

  1. 16  docs/narr/viewconfig.rst
16  docs/narr/viewconfig.rst
Source Rendered
@@ -360,8 +360,7 @@ View Configuration Using the ``@view_config`` Decorator
360 360
 
361 361
 For better locality of reference, you may use the
362 362
 :class:`pyramid.view.view_config` decorator to associate your view functions
363  
-with URLs instead of using :term:`ZCML` or imperative configuration for the
364  
-same purpose.
  363
+with URLs instead of using imperative configuration for the same purpose.
365 364
 
366 365
 .. warning::
367 366
 
@@ -370,13 +369,12 @@ same purpose.
370 369
    declarations.
371 370
 
372 371
 Usage of the ``view_config`` decorator is a form of :term:`declarative
373  
-configuration`, like ZCML, but in decorator form.
374  
-:class:`~pyramid.view.view_config` can be used to associate :term:`view
375  
-configuration` information -- as done via the equivalent imperative code or
376  
-ZCML -- with a function that acts as a :app:`Pyramid` view callable.  All
377  
-arguments to the :meth:`pyramid.config.Configurator.add_view` method (save
378  
-for the ``view`` argument) are available in decorator form and mean precisely
379  
-the same thing.
  372
+configuration` in decorator form.  :class:`~pyramid.view.view_config` can be
  373
+used to associate :term:`view configuration` information -- as done via the
  374
+equivalent imperative code -- with a function that acts as a :app:`Pyramid`
  375
+view callable.  All arguments to the
  376
+:meth:`pyramid.config.Configurator.add_view` method (save for the ``view``
  377
+argument) are available in decorator form and mean precisely the same thing.
380 378
 
381 379
 An example of the :class:`~pyramid.view.view_config` decorator might reside in
382 380
 a :app:`Pyramid` application module ``views.py``:

0 notes on commit 8d7dbf0

Please sign in to comment.
Something went wrong with that request. Please try again.