diff options
| author | Steve Piercy <web@stevepiercy.com> | 2021-06-19 01:29:45 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2021-06-19 01:31:05 -0700 |
| commit | 0e4a1e3773e383ae756164e2cb5f32592d63e131 (patch) | |
| tree | dcb1c994887ef11c024c1dacd782bb79db8081eb /docs/narr/hooks.rst | |
| parent | 8061fce297cc7117d3e6e2b39e47512c7db2904f (diff) | |
| download | pyramid-0e4a1e3773e383ae756164e2cb5f32592d63e131.tar.gz pyramid-0e4a1e3773e383ae756164e2cb5f32592d63e131.tar.bz2 pyramid-0e4a1e3773e383ae756164e2cb5f32592d63e131.zip | |
Fix API documentation links to webob, and rename the objects with their full and correct namespace
Diffstat (limited to 'docs/narr/hooks.rst')
| -rw-r--r-- | docs/narr/hooks.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index c19d26236..73a0143bf 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -852,11 +852,11 @@ callable, if that object asserts that it implements ``zope.interface.implementer(IResponse)``) , an adapter needn't be registered for the object; Pyramid will use it directly. -An IResponse adapter for ``webob.Response`` (as opposed to +An IResponse adapter for ``webob.reponse.Response`` (as opposed to :class:`pyramid.response.Response`) is registered by Pyramid by default at startup time, as by their nature, instances of this class (and instances of subclasses of the class) will natively provide IResponse. The adapter -registered for ``webob.Response`` simply returns the response object. +registered for ``webob.reponse.Response`` simply returns the response object. Instead of using :meth:`pyramid.config.Configurator.add_response_adapter`, you can use the :class:`pyramid.response.response_adapter` decorator: |
