summaryrefslogtreecommitdiff
path: root/docs/narr/commandline.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-07-30 01:50:24 -0600
committerMichael Merickel <michael@merickel.org>2011-07-30 01:50:24 -0600
commit875ded31e7fdd0c85d1c91458248581b9dd729d7 (patch)
tree2063e301734ef5a79e308f67a126df48546acf07 /docs/narr/commandline.rst
parente1b25974a4dcc9eb9ceab70ec2276043de775f82 (diff)
downloadpyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.tar.gz
pyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.tar.bz2
pyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.zip
Updated all of the docs to reflect the new pyramid.* settings prefix.
Diffstat (limited to 'docs/narr/commandline.rst')
-rw-r--r--docs/narr/commandline.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index f4cf951ba..509af7dd3 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -134,11 +134,11 @@ might have a ``[app:MyProject]`` section that looks like so:
[app:MyProject]
use = egg:MyProject
- reload_templates = true
- debug_authorization = false
- debug_notfound = false
- debug_templates = true
- default_locale_name = en
+ pyramid.reload_templates = true
+ pyramid.debug_authorization = false
+ pyramid.debug_notfound = false
+ pyramid.debug_templates = true
+ pyramid.default_locale_name = en
If so, you can use the following command to invoke a debug shell using the
name ``MyProject`` as a section name:
@@ -160,7 +160,7 @@ name ``MyProject`` as a section name:
<myproject.resources.MyResource object at 0x445270>
>>> registry
<Registry myproject>
- >>> registry.settings['debug_notfound']
+ >>> registry.settings['pyramid.debug_notfound']
False
>>> from myproject.views import my_view
>>> from pyramid.request import Request