Chris McDonough
2011-07-15 7a5f5612791210081db430aa707ed146a8e2c0e9
remove bogus information about route_name, refer to the right method of Configurator when describing global_registries, add http_cache newness warning
2 files modified
21 ■■■■ changed files
docs/api/config.rst 6 ●●●● patch | view | raw | blame | history
pyramid/config.py 15 ●●●● patch | view | raw | blame | history
docs/api/config.rst
@@ -90,9 +90,9 @@
     The set of registries that have been created for :app:`Pyramid`
     applications, one per each call to
     :meth:`pyramid.config.Configurator.make_app` in the current process. The
     object itself supports iteration and has a ``last`` property containing
     the last registry loaded.
     :meth:`pyramid.config.Configurator.make_wsgi_app` in the current
     process. The object itself supports iteration and has a ``last``
     property containing the last registry loaded.
     The registries contained in this object are stored as weakrefs,
     thus they will only exist for the lifetime of the actual
pyramid/config.py
@@ -1094,6 +1094,8 @@
        http_cache
          .. note:: This feature is new as of Pyramid 1.1.
          When you supply an ``http_cache`` value to a view configuration,
          the ``Expires`` and ``Cache-Control`` headers of a response
          generated by the associated view callable are modified.  The value
@@ -1213,18 +1215,7 @@
          This value must match the ``name`` of a :term:`route
          configuration` declaration (see :ref:`urldispatch_chapter`)
          that must match before this view will be called.  Note that
          the ``route`` configuration referred to by ``route_name``
          usually has a ``*traverse`` token in the value of its
          ``path``, representing a part of the path that will be used
          by :term:`traversal` against the result of the route's
          :term:`root factory`.
          .. warning:: Using this argument services an advanced
             feature that isn't often used unless you want to perform
             traversal *after* a route has matched. See
             :ref:`hybrid_chapter` for more information on using this
             advanced feature.
          that must match before this view will be called.
        request_type