From 0ac7b075f76b3989fe9eb763b73bab827c9deccd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 25 Dec 2009 06:44:37 +0000 Subject: Fix syntax errors found via manuel, and add manuel-style markers to prevent untestable code blocks from being tested. --- docs/narr/security.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/narr/security.rst') 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: -- cgit v1.2.3