diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-25 06:44:37 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-25 06:44:37 +0000 |
| commit | 0ac7b075f76b3989fe9eb763b73bab827c9deccd (patch) | |
| tree | 50c8d7d38837cb468af45ee90e34efec21bf3e73 /docs/narr/security.rst | |
| parent | a0169ff21b5cd7446bf0289bffdb52de8dc61290 (diff) | |
| download | pyramid-0ac7b075f76b3989fe9eb763b73bab827c9deccd.tar.gz pyramid-0ac7b075f76b3989fe9eb763b73bab827c9deccd.tar.bz2 pyramid-0ac7b075f76b3989fe9eb763b73bab827c9deccd.zip | |
Fix syntax errors found via manuel, and add manuel-style markers to prevent
untestable code blocks from being tested.
Diffstat (limited to 'docs/narr/security.rst')
| -rw-r--r-- | docs/narr/security.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/narr/security.rst b/docs/narr/security.rst index f88456730..5cebd9792 100644 --- a/docs/narr/security.rst +++ b/docs/narr/security.rst @@ -31,11 +31,12 @@ application setup to specify an authentication policy. For example: +.. ignore-next-block .. code-block:: python :linenos: from repoze.bfg.configuration import Configurator - from repoze.bfg.authentication import AuthTktAutenticationPolicy + from repoze.bfg.authentication import AuthTktAuthenticationPolicy from repoze.bfg.authorization import ACLAuthorizationPolicy authentication_policy = AuthTktAuthenticationPolicy('seekrit') authorization_policy = ACLAuthorizationPolicy() @@ -124,6 +125,7 @@ The equivalent view registration including the 'add' permission name may be performed via the ``bfg_view`` decorator within the "views" module of your project's package +.. ignore-next-block .. code-block:: python :linenos: |
