diff options
| author | Blaise Laflamme <blaise@laflamme.org> | 2010-11-28 02:21:38 -0500 |
|---|---|---|
| committer | Blaise Laflamme <blaise@laflamme.org> | 2010-11-28 02:21:38 -0500 |
| commit | 23bfce0ea0fae605f67547f7b12e91fbe329d506 (patch) | |
| tree | 141e2c6675620629336b48c0eedce0728ca9fd0d /docs/narr/security.rst | |
| parent | 54f097a8146b3fa20a0de8c357785929d1065fd0 (diff) | |
| download | pyramid-23bfce0ea0fae605f67547f7b12e91fbe329d506.tar.gz pyramid-23bfce0ea0fae605f67547f7b12e91fbe329d506.tar.bz2 pyramid-23bfce0ea0fae605f67547f7b12e91fbe329d506.zip | |
Narrative doc cleanup
Diffstat (limited to 'docs/narr/security.rst')
| -rw-r--r-- | docs/narr/security.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst index 8cf459880..782dbffb1 100644 --- a/docs/narr/security.rst +++ b/docs/narr/security.rst @@ -497,7 +497,9 @@ Debugging View Authorization Failures If your application in your judgment is allowing or denying view access inappropriately, start your application under a shell using the ``BFG_DEBUG_AUTHORIZATION`` environment variable set to ``1``. For -example:: +example: + +.. code-block:: text $ BFG_DEBUG_AUTHORIZATION=1 bin/paster serve myproject.ini @@ -508,7 +510,9 @@ authentication information. This behavior can also be turned on in the application ``.ini`` file by setting the ``debug_authorization`` key to ``true`` within the -application's configuration section, e.g.:: +application's configuration section, e.g.: + +.. code-block:: guess [app:main] use = egg:MyProject#app |
