From 6012899c7d7bd4a5ffd64f0b9cede9639610ef41 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 22 Nov 2009 08:42:41 +0000 Subject: Rendering tweaks. --- docs/narr/hooks.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/narr/hooks.rst') diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 0fea7c64e..f5fc4233b 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -27,6 +27,7 @@ to the notfound view you want to use. Here's some sample code that implements a minimal NotFound view: .. code-block:: python + :linenos: from webob.exc import HTTPNotFound @@ -104,6 +105,7 @@ the view invocation was denied. The ``request`` is the current code that implements a minimal forbidden view: .. code-block:: python + :linenos: from repoze.bfg.chameleon_zpt import render_template_to_response @@ -345,6 +347,4 @@ The API that must be implemented by a class that provides The default context URL generator is available for perusal as the class ``TraversalContextURL`` in the `traversal module `_ of -the BFG subversion repository. - - +the :term:`Repoze` Subversion repository. -- cgit v1.2.3