diff options
| author | Tres Seaver <tseaver@palladion.com> | 2013-01-29 15:53:57 -0800 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2013-01-29 15:53:57 -0800 |
| commit | 2bee32671eac872489f19a08e326e407d400a525 (patch) | |
| tree | ac272bf5635e3d0070c7df88f93407a1c1110cea /docs/narr/viewconfig.rst | |
| parent | f4ac0be37899d245bbc6e91b5f5a648e3e593507 (diff) | |
| parent | 40dbf42a2df1783c3d803adf950380c21512bb91 (diff) | |
| download | pyramid-2bee32671eac872489f19a08e326e407d400a525.tar.gz pyramid-2bee32671eac872489f19a08e326e407d400a525.tar.bz2 pyramid-2bee32671eac872489f19a08e326e407d400a525.zip | |
Merge pull request #833 from tshepang/directives
use the more appropriate directives
Diffstat (limited to 'docs/narr/viewconfig.rst')
| -rw-r--r-- | docs/narr/viewconfig.rst | 8 |
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 |
