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

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

.. module:: pyramid.paster

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