More ReStructuredText fixes in docstrings.
(After a recursive grep for ':[a-z]*:`[A-Z0-9a-z._]*``')
| | |
| | | |
| | | Rather than using the ``*traverse`` remainder marker in a pattern, you |
| | | can use the ``traverse`` argument to the |
| | | :meth:`pyramid.configuration.Configurator.add_route`` method. |
| | | :meth:`pyramid.configuration.Configurator.add_route` method. |
| | | |
| | | When you use the ``*traverse`` remainder marker, the traversal path is |
| | | limited to being the remainder segments of a request URL when a route |
| | |
| | | By default, ``categories`` is ``None`` which will execute |
| | | *all* Venusian decorator callbacks including |
| | | :app:`Pyramid`-related decorators such as |
| | | :class:`pyramid.view.view_config``. If this is not desirable |
| | | :class:`pyramid.view.view_config`. If this is not desirable |
| | | because the codebase has other Venusian-using decorators that |
| | | aren't meant to be invoked during a particular scan, use |
| | | ``('pyramid',)`` as a ``categories`` value to limit the execution |
| | |
| | | |
| | | def blank(path): |
| | | """ Return an empty request object (see |
| | | :meth:`pyramid.request.Request.blank``)""" |
| | | :meth:`pyramid.request.Request.blank`)""" |
| | | |
| | | class IViewClassifier(Interface): |
| | | """ *Internal only* marker interface for views.""" |
| | |
| | | |
| | | .. warning:: This API is deprecated as of :app:`Pyramid` 1.0. |
| | | Instead use the |
| | | :meth:`pyramid.configuration.Configurator.testing_add_template`` |
| | | :meth:`pyramid.configuration.Configurator.testing_add_template` |
| | | method in your unit and integration tests. |
| | | |
| | | """ |
| | |
| | | |
| | | .. warning:: This API is deprecated as of :app:`Pyramid` 1.0. |
| | | Instead use the |
| | | :meth:`pyramid.configuration.Configurator.add_view`` |
| | | :meth:`pyramid.configuration.Configurator.add_view` |
| | | method in your unit and integration tests. |
| | | """ |
| | | for_ = (IViewClassifier, ) + for_ |