summaryrefslogtreecommitdiff
path: root/docs/api/paster.rst
blob: 2a32e07e9f33d78c963533f01dc09ff1c9a06e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. _paster_module:

:mod:`pyramid.paster`
---------------------------

.. automodule:: pyramid.paster

    .. 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