summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohn Anderson <sontek@gmail.com>2015-01-22 07:29:02 -0800
committerJohn Anderson <sontek@gmail.com>2015-01-22 07:29:02 -0800
commitb8ba0f1ed25b118aeb05accb23d872b3a72dc548 (patch)
treee8e5061ed6363ce38b3779659cd662a28739858f /docs
parent8724ab8301c9d5808d781bab0af1df56909c9236 (diff)
downloadpyramid-b8ba0f1ed25b118aeb05accb23d872b3a72dc548.tar.gz
pyramid-b8ba0f1ed25b118aeb05accb23d872b3a72dc548.tar.bz2
pyramid-b8ba0f1ed25b118aeb05accb23d872b3a72dc548.zip
Make more ways to configure [proutes] section
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/commandline.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index aca0ff425..3dcb092e2 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -350,6 +350,17 @@ For example you may remove request method and place the view first:
name
pattern
+You can also separate the formats with commas or spaces:
+
+.. code-block:: text
+ :linenos:
+
+ [proutes]
+ format = view name pattern
+
+ [proutes]
+ format = view, name, pattern
+
If you want to temporarily configure the columns and order there is the
``--format`` which is a comma separated list of columns you want to include. The
current available formats are ``name``, ``pattern``, ``view``, and ``method``.