diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-01-05 19:38:23 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-01-05 19:38:23 +0000 |
| commit | 4a3a68da7707cdb3c1dfaf61a3fb8a29644d431d (patch) | |
| tree | 8fa6f443dc8c69f09471a7f0268b696178271b41 /docs/narr | |
| parent | 791a23ffbba7d22f2b66a04868f76fd97740d618 (diff) | |
| download | pyramid-4a3a68da7707cdb3c1dfaf61a3fb8a29644d431d.tar.gz pyramid-4a3a68da7707cdb3c1dfaf61a3fb8a29644d431d.tar.bz2 pyramid-4a3a68da7707cdb3c1dfaf61a3fb8a29644d431d.zip | |
Normalize.
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/MyProject/myproject/run.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/narr/MyProject/myproject/run.py b/docs/narr/MyProject/myproject/run.py index 6a3671c1e..ce1c7a81e 100644 --- a/docs/narr/MyProject/myproject/run.py +++ b/docs/narr/MyProject/myproject/run.py @@ -2,9 +2,11 @@ from repoze.bfg.configuration import Configurator from myproject.models import get_root def app(global_config, **settings): - """ This function returns a repoze.bfg.router.Router object. It - is usually called by the PasteDeploy framework during ``paster - serve``""" + """ This function returns a WSGI application. + + It is usually called by the PasteDeploy framework during + ``paster serve``. + """ config = Configurator(root_factory=get_root, settings=settings) config.begin() zcml_file = settings.get('configure_zcml', 'configure.zcml') |
