Chris McDonough
2012-03-18 811494584847b8108a462c28ce50f9cf30f0fb6b
Merge branch 'master' of github.com:Pylons/pyramid
1 files modified
16 ■■■■ changed files
docs/narr/project.rst 16 ●●●● patch | view | raw | blame | history
docs/narr/project.rst
@@ -370,7 +370,7 @@
Then restart the application to see that the toolbar has been turned off.
Note that if you comment out the ``pryamid_debugtoolbar`` line, the ``#``
Note that if you comment out the ``pyramid_debugtoolbar`` line, the ``#``
*must* be in the first column.  If you put the hash mark anywhere except the
first column instead, for example like this:
@@ -750,8 +750,8 @@
   Line 6 creates an instance of a :term:`Configurator`.
   Line 7 registers a static view, which will serve up the files from the
   ``mypackage:static`` :term:`asset specification` (the ``static``
   directory of the ``mypackage`` package).
   ``myproject:static`` :term:`asset specification` (the ``static``
   directory of the ``myproject`` package).
   Line 8 adds a :term:`route` to the configuration.  This route is later
   used by a view in the ``views`` module.
@@ -888,7 +888,7 @@
your views in a Python subpackage within the ``myproject`` :term:`package`
named ``views`` instead of within a single ``views.py`` file, you might:
- Create a ``views`` directory inside your ``mypackage`` package directory
- Create a ``views`` directory inside your ``myproject`` package directory
  (the same directory which holds ``views.py``).
- *Move* the existing ``views.py`` file to a file inside the new ``views``
@@ -908,10 +908,10 @@
Using the Interactive Shell
---------------------------
It is possible to use a Python interpreter prompt loaded with a similar
configuration as would be loaded if you were running your Pyramid application
via ``pserve``.  This can be a useful debugging tool.  See
:ref:`interactive_shell` for more details.
It is possible to use the ``pshell`` command to load a Python interpreter
prompt with a similar configuration as would be loaded if you were running
your Pyramid application via ``pserve``.  This can be a useful debugging tool.
See :ref:`interactive_shell` for more details.
What Is This ``pserve`` Thing
-----------------------------