diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-02-16 17:06:04 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-03-06 19:21:08 +0200 |
| commit | 70b951b47c31af883aa7a6a5853d9265db7f6fdb (patch) | |
| tree | cb56d26e6d129aaecd35c26c38d3e5633caddd49 /docs | |
| parent | 75e2cb6f3cfa97716a2ccd14b5ea8db72138f533 (diff) | |
| download | pyramid-70b951b47c31af883aa7a6a5853d9265db7f6fdb.tar.gz pyramid-70b951b47c31af883aa7a6a5853d9265db7f6fdb.tar.bz2 pyramid-70b951b47c31af883aa7a6a5853d9265db7f6fdb.zip | |
improve readability
Diffstat (limited to 'docs')
| -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 fb3c3d7e3..1ac59bfb6 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: |
