summaryrefslogtreecommitdiff
path: root/docs/api/paster.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-07-14 19:54:59 -0500
committerMichael Merickel <michael@merickel.org>2011-07-14 19:56:44 -0500
commit00f7c6abb9ed581411044e9aee2f1647cfadfcb7 (patch)
treee025c3d9041dd89bd098984dd88095f92e3b6951 /docs/api/paster.rst
parent71696bd1a38466033370c3de56c55ebcd64163f2 (diff)
downloadpyramid-00f7c6abb9ed581411044e9aee2f1647cfadfcb7.tar.gz
pyramid-00f7c6abb9ed581411044e9aee2f1647cfadfcb7.tar.bz2
pyramid-00f7c6abb9ed581411044e9aee2f1647cfadfcb7.zip
Added test coverage for p.paster.bootstrap.
Diffstat (limited to 'docs/api/paster.rst')
-rw-r--r--docs/api/paster.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/api/paster.rst b/docs/api/paster.rst
index 09e768fae..2a32e07e9 100644
--- a/docs/api/paster.rst
+++ b/docs/api/paster.rst
@@ -5,6 +5,13 @@
.. automodule:: pyramid.paster
- .. autofunction:: get_app
+ .. function:: get_app(config_uri, name=None)
+
+ Return the WSGI application named ``name`` in the PasteDeploy
+ config file specified by ``config_uri``.
+
+ If the ``name`` is None, this will attempt to parse the name from
+ the ``config_uri`` string expecting the format ``inifile#name``.
+ If no name is found, the name will default to "main".
.. autofunction:: bootstrap