diff options
| author | Chris McDonough <chrism@plope.com> | 2011-10-06 03:05:29 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-10-06 03:05:29 -0400 |
| commit | cfb2b5596b8ef366aeef3bce5b61eafc7a2f175d (patch) | |
| tree | ae20b3579631fff9f4e455fa4929d23420b9a65e /docs/tutorials/wiki/basiclayout.rst | |
| parent | d29151abecd85e844b170fb2880dc701b63d7f52 (diff) | |
| download | pyramid-cfb2b5596b8ef366aeef3bce5b61eafc7a2f175d.tar.gz pyramid-cfb2b5596b8ef366aeef3bce5b61eafc7a2f175d.tar.bz2 pyramid-cfb2b5596b8ef366aeef3bce5b61eafc7a2f175d.zip | |
remove all reference to the paster command-line utility
Diffstat (limited to 'docs/tutorials/wiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki/basiclayout.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/wiki/basiclayout.rst b/docs/tutorials/wiki/basiclayout.rst index d3f2fb455..47cac597b 100644 --- a/docs/tutorials/wiki/basiclayout.rst +++ b/docs/tutorials/wiki/basiclayout.rst @@ -18,7 +18,7 @@ an ``__init__.py`` file. Even if empty, this marks a directory as a Python package. Our application uses ``__init__.py`` as both a package marker, as well as to contain application configuration code. -When you run the application using the ``paster`` command using the +When you run the application using the ``pserve`` command using the ``development.ini`` generated config file, the application configuration points at a Setuptools *entry point* described as ``egg:tutorial``. In our application, because the application's ``setup.py`` file says so, this entry @@ -34,7 +34,7 @@ point happens to be the ``main`` function within the file named #. *Lines 5-7* Define a root factory for our Pyramid application. #. *Line 12*. We construct a :term:`Configurator` with a :term:`root - factory` and the settings keywords parsed by PasteDeploy. The root + factory` and the settings keywords parsed by :term:`PasteDeploy`. The root factory is named ``get_root``. #. *Line 13*. Register a 'static view' which answers requests which start @@ -167,4 +167,4 @@ application. Our ZODB database settings are specified as the ``zodbconn.uri`` setting within this section. This value, and the other values within this section are passed as ``**settings`` to the ``main`` function we defined in ``__init__.py`` when the server is started via -``paster serve``. +``pserve``. |
