diff options
author | Chris Beelby <cmbeelby@gmail.com> | 2012-11-25 21:58:12 -0500 |
---|---|---|
committer | Chris Beelby <cmbeelby@gmail.com> | 2012-11-25 21:58:12 -0500 |
commit | fbd4ef531d5ae9ba05218e50afa41f1352ec8baf (patch) | |
tree | 1bde389c68a381f7a058a3e3e275e0965e1eaadd | |
parent | d8810f2908b89b876a9293bacd2bdfd7105b4870 (diff) | |
download | cherrypy-fbd4ef531d5ae9ba05218e50afa41f1352ec8baf.tar.gz |
Removed double negatives to make statement clearer.
The example call to quickstart specified a script_name of '/' which it should not.
-rw-r--r-- | sphinx/source/concepts/config.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/source/concepts/config.rst b/sphinx/source/concepts/config.rst index 8fcae773..e285eaeb 100644 --- a/sphinx/source/concepts/config.rst +++ b/sphinx/source/concepts/config.rst @@ -77,9 +77,9 @@ or, in python code:: 'tools.trailing_slash.on': False, } } - cherrypy.tree.mount(Root(), "/", config=config) + cherrypy.tree.mount(Root(), config=config) -CherryPy doesn't use any sections that don't start with ``"/"`` (except +CherryPy only uses sections that start with ``"/"`` (except ``[global]``, see below). That means you can place your own configuration entries in a CherryPy config file by giving them a section name which does not start with ``"/"``. For example, you might include database entries like this:: |