summaryrefslogtreecommitdiff
path: root/repoze/bfg/paster_templates/starter
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/paster_templates/starter')
-rw-r--r--repoze/bfg/paster_templates/starter/+package+/run.py_tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/repoze/bfg/paster_templates/starter/+package+/run.py_tmpl b/repoze/bfg/paster_templates/starter/+package+/run.py_tmpl
index 4505ed001..74876f3f4 100644
--- a/repoze/bfg/paster_templates/starter/+package+/run.py_tmpl
+++ b/repoze/bfg/paster_templates/starter/+package+/run.py_tmpl
@@ -2,9 +2,11 @@ from repoze.bfg.configuration import Configurator
from {{package}}.models import get_root
def app(global_config, **settings):
- """ This function returns a ``repoze.bfg`` application 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``.
+ """
zcml_file = settings.get('configure_zcml', 'configure.zcml')
config = Configurator(root_factory=get_root, settings=settings)
config.begin()