summaryrefslogtreecommitdiff
path: root/docs/narr/viewconfig.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-07-07 02:02:48 -0500
committerMichael Merickel <michael@merickel.org>2011-07-07 02:02:48 -0500
commit9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c (patch)
treefefd86dc72355126206cd7d8f31c390cca5eb393 /docs/narr/viewconfig.rst
parente8561f919548e2fe17f82d98e2a13e1e4e85bf40 (diff)
downloadpyramid-9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c.tar.gz
pyramid-9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c.tar.bz2
pyramid-9e7162eb7f584e8afdbc2f04846d0d7e1fcf676c.zip
Updated proutes and pviews docs.
Diffstat (limited to 'docs/narr/viewconfig.rst')
-rw-r--r--docs/narr/viewconfig.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index ec42446ff..67ac39259 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -795,10 +795,11 @@ For a big application with several views, it can be hard to keep the view
configuration details in your head, even if you defined all the views
yourself. You can use the ``paster pviews`` command in a terminal window to
print a summary of matching routes and views for a given URL in your
-application. The ``paster pviews`` command accepts three arguments. The
-first argument to ``pviews`` is the path to your application's ``.ini`` file.
-The second is the ``app`` section name inside the ``.ini`` file which points
-to your application. The third is the URL to test for matching views.
+application. The ``paster pviews`` command accepts two arguments. The
+first argument to ``pviews`` is the path to your application's ``.ini`` file
+and section name inside the ``.ini`` file which points to your application.
+This should be of the format ``config_file#section_name``. The second argument
+is the URL to test for matching views.
Here is an example for a simple view configuration using :term:`traversal`:
@@ -829,7 +830,7 @@ A more complex configuration might generate something like this:
.. code-block:: text
:linenos:
- $ ../bin/paster pviews development.ini shootout /about
+ $ ../bin/paster pviews development.ini#shootout /about
URL = /about