summaryrefslogtreecommitdiff
path: root/docs/api/configuration.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-04-25 21:53:04 +0000
committerChris McDonough <chrism@agendaless.com>2010-04-25 21:53:04 +0000
commit8cc399ae9291f34166bc8a8fc1983a9941b57e97 (patch)
tree7c11a39f2926593e85d158ba9d7a056a235c7eb5 /docs/api/configuration.rst
parent30b89889183acb9243f13cc141fae08a22b2d317 (diff)
downloadpyramid-8cc399ae9291f34166bc8a8fc1983a9941b57e97.tar.gz
pyramid-8cc399ae9291f34166bc8a8fc1983a9941b57e97.tar.bz2
pyramid-8cc399ae9291f34166bc8a8fc1983a9941b57e97.zip
- Add a new method of the Configurator named ``derive_view`` which can
be used to generate a BFG view callable from a user-supplied function, instance, or class. This useful for external framework and plugin authors wishing to wrap callables supplied by their users which follow the same calling conventions and response conventions as objects that can be supplied directly to BFG as a view callable. See the ``derive_view`` method in the ``repoze.bfg.configuration.Configurator`` docs.
Diffstat (limited to 'docs/api/configuration.rst')
-rw-r--r--docs/api/configuration.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api/configuration.rst b/docs/api/configuration.rst
index 7b411b92d..9d391dd1f 100644
--- a/docs/api/configuration.rst
+++ b/docs/api/configuration.rst
@@ -36,6 +36,8 @@
.. automethod:: add_view
+ .. automethod:: derive_view
+
.. automethod:: load_zcml(spec)
.. automethod:: make_wsgi_app()