summaryrefslogtreecommitdiff
path: root/docs/narr/viewconfig.rst
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-01-30 00:41:23 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-01-30 00:42:20 +0200
commit40dbf42a2df1783c3d803adf950380c21512bb91 (patch)
treec06e62e8472bbd091ab9cb0223e3a4c9df6fdfe6 /docs/narr/viewconfig.rst
parent514c866c9915491306ad2e05e79b6faa6f79ea63 (diff)
downloadpyramid-40dbf42a2df1783c3d803adf950380c21512bb91.tar.gz
pyramid-40dbf42a2df1783c3d803adf950380c21512bb91.tar.bz2
pyramid-40dbf42a2df1783c3d803adf950380c21512bb91.zip
use the more appropriate directives
Diffstat (limited to 'docs/narr/viewconfig.rst')
-rw-r--r--docs/narr/viewconfig.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index f00dae451..7001cd980 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -306,7 +306,7 @@ configured view.
consideration of keys and values in the ``request.params`` dictionary.
``match_param``
- .. note:: This feature is new as of :app:`Pyramid` 1.2.
+ .. versionadded:: 1.2
This param may be either a single string of the format "key=value" or a
dict of key/value pairs.
@@ -724,9 +724,7 @@ configuration to take effect.
``@view_defaults`` Class Decorator
----------------------------------
-.. note::
-
- This feature is new in Pyramid 1.3.
+.. versionadded:: 1.3
If you use a class as a view, you can use the
:class:`pyramid.view.view_defaults` class decorator on the class to provide
@@ -952,7 +950,7 @@ for more information about how, and where to set these values.
Influencing HTTP Caching
------------------------
-.. note:: This feature is new in Pyramid 1.1.
+.. versionadded:: 1.1
When a non-``None`` ``http_cache`` argument is passed to a view
configuration, Pyramid will set ``Expires`` and ``Cache-Control`` response