diff options
| author | Michael Merickel <michael@merickel.org> | 2013-03-12 13:45:06 -0700 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2013-03-12 13:45:06 -0700 |
| commit | 5fb6de8426aeaca7ecfd5babb7ba0372dbeab020 (patch) | |
| tree | 57d2a458c1c3e2480a6c9bc6e6e2bf4fc72ccef6 /docs/narr/environment.rst | |
| parent | 22814bb5613546fee0aeec59526ec9c10ae7ac6b (diff) | |
| parent | 5a20a11be7971e2d4676a7edd46fa1789525d232 (diff) | |
| download | pyramid-5fb6de8426aeaca7ecfd5babb7ba0372dbeab020.tar.gz pyramid-5fb6de8426aeaca7ecfd5babb7ba0372dbeab020.tar.bz2 pyramid-5fb6de8426aeaca7ecfd5babb7ba0372dbeab020.zip | |
Merge pull request #890 from tshepang/misc
miscellaneous doc improvements
Diffstat (limited to 'docs/narr/environment.rst')
| -rw-r--r-- | docs/narr/environment.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/environment.rst b/docs/narr/environment.rst index c8a666b90..35bfddb8d 100644 --- a/docs/narr/environment.rst +++ b/docs/narr/environment.rst @@ -666,9 +666,9 @@ Here's how: def includeme(config): settings = config.registry.settings debug_frobnosticator = settings['debug_frobnosticator'] - -- In the runtime code that you need to access the new settings value, find - the value in the ``registry.settings`` dictionary and use it. In + +- In the runtime code from where you need to access the new settings value, + find the value in the ``registry.settings`` dictionary and use it. In :term:`view` code (or any other code that has access to the request), the easiest way to do this is via ``request.registry.settings``. For example: |
