diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-30 04:30:57 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-30 04:30:57 -0400 |
| commit | d8c76559cf0d8775aa2c46d62b94100528fb8a7f (patch) | |
| tree | 9af038c2dadf42226c11fc1c9531011af64fa99d /docs/narr/commandline.rst | |
| parent | 6aafc53c0ee74c2a568fb4d36f5eaab968126088 (diff) | |
| parent | 875ded31e7fdd0c85d1c91458248581b9dd729d7 (diff) | |
| download | pyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.tar.gz pyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.tar.bz2 pyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.zip | |
Merge branch 'feature.settings-prefix'
Diffstat (limited to 'docs/narr/commandline.rst')
| -rw-r--r-- | docs/narr/commandline.rst | 12 |
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 |
