summaryrefslogtreecommitdiff
path: root/docs/api/paster.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-07-07 01:57:18 -0500
committerMichael Merickel <michael@merickel.org>2011-07-07 01:57:18 -0500
commite8561f919548e2fe17f82d98e2a13e1e4e85bf40 (patch)
tree094a14e2fe447eb28e4b6ed0541a7bc5602e4609 /docs/api/paster.rst
parente6d8e5394aeb1111d955bc21712c93bcb26ffcc0 (diff)
downloadpyramid-e8561f919548e2fe17f82d98e2a13e1e4e85bf40.tar.gz
pyramid-e8561f919548e2fe17f82d98e2a13e1e4e85bf40.tar.bz2
pyramid-e8561f919548e2fe17f82d98e2a13e1e4e85bf40.zip
Added/updated documentation for the new interactive shell.
Diffstat (limited to 'docs/api/paster.rst')
-rw-r--r--docs/api/paster.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/api/paster.rst b/docs/api/paster.rst
index 9ecfa3d9c..6668f3c77 100644
--- a/docs/api/paster.rst
+++ b/docs/api/paster.rst
@@ -5,9 +5,12 @@
.. module:: pyramid.paster
-.. function:: get_app(config_file, name)
+.. function:: get_app(config_file, name=None)
Return the WSGI application named ``name`` in the PasteDeploy
config file ``config_file``.
-
+ If the ``name`` is None, this will attempt to parse the name from
+ the ``config_file`` string expecting the format ``ini_file#name``.
+ If no name is found, the name will default to "main".
+