summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorBertrand Janin <tamentis@neopulsar.org>2010-12-05 13:48:09 -0500
committerBertrand Janin <tamentis@neopulsar.org>2010-12-05 13:48:09 -0500
commitb4ddae4694c94a9b1281aab9f3ca5f21979d203b (patch)
treef7a25a2d23fdb1bc711401a286eda0ca05e810e1 /docs/tutorials
parent16388c331306114c39865207dcdf97722436ea28 (diff)
downloadpyramid-b4ddae4694c94a9b1281aab9f3ca5f21979d203b.tar.gz
pyramid-b4ddae4694c94a9b1281aab9f3ca5f21979d203b.tar.bz2
pyramid-b4ddae4694c94a9b1281aab9f3ca5f21979d203b.zip
Updated references to 'app' by 'main'.
Diffstat (limited to 'docs/tutorials')
-rw-r--r--docs/tutorials/wiki2/basiclayout.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst
index 01fdd351e..a9f7b2282 100644
--- a/docs/tutorials/wiki2/basiclayout.rst
+++ b/docs/tutorials/wiki2/basiclayout.rst
@@ -19,12 +19,12 @@ an ``__init__.py`` file. Even if empty, this marks a directory as a Python
package. We use ``__init__.py`` both as a package marker and to contain
configuration code.
-When you run the application using the ``paster`` command using the
-``development.ini`` generated config file, the application configuration
-points at an Setuptools *entry point* described as ``egg:tutorial#app``. In
-our application, because the application's ``setup.py`` file says so, this
-entry point happens to be the ``app`` function within the file named
-``__init__.py``:
+The generated ``development.ini`` file is read by ``paster`` which looks for
+the application module in the ``use`` variable of the ``app:tutorial``
+section. The *entry point* is defined in the Setuptools configuration of this
+module, specifically in the ``setup.py`` file. For this tutorial, the *entry
+point* is defined as ``tutorial:main`` and points to the following ``main``
+function:
.. literalinclude:: src/basiclayout/tutorial/__init__.py
:linenos: