summaryrefslogtreecommitdiff
path: root/docs/narr/extending.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-22 08:42:41 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-22 08:42:41 +0000
commit6012899c7d7bd4a5ffd64f0b9cede9639610ef41 (patch)
tree93e615f417fb192018ccdb62029f94e3d81096f7 /docs/narr/extending.rst
parent6b538ed7e07b03024ba145e955880d2188edd679 (diff)
downloadpyramid-6012899c7d7bd4a5ffd64f0b9cede9639610ef41.tar.gz
pyramid-6012899c7d7bd4a5ffd64f0b9cede9639610ef41.tar.bz2
pyramid-6012899c7d7bd4a5ffd64f0b9cede9639610ef41.zip
Rendering tweaks.
Diffstat (limited to 'docs/narr/extending.rst')
-rw-r--r--docs/narr/extending.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/narr/extending.rst b/docs/narr/extending.rst
index 26520d2d0..e77f4cfbe 100644
--- a/docs/narr/extending.rst
+++ b/docs/narr/extending.rst
@@ -176,7 +176,10 @@ behavior will usually have the same ``for`` and ``name`` (and
:term:`predicate` attributes, if used) as the original. These
``<view>`` declarations will point at "new" view code. The new view
code itself will usually be cut-n-paste copies of view callables from
-the original application with slight tweaks. For example::
+the original application with slight tweaks. For example:
+
+.. code-block:: xml
+ :linenos:
<view for="theoriginalapplication.models.SomeModel"
name="theview"