diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-11-22 08:42:41 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-11-22 08:42:41 +0000 |
| commit | 6012899c7d7bd4a5ffd64f0b9cede9639610ef41 (patch) | |
| tree | 93e615f417fb192018ccdb62029f94e3d81096f7 /docs/narr/extending.rst | |
| parent | 6b538ed7e07b03024ba145e955880d2188edd679 (diff) | |
| download | pyramid-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.rst | 5 |
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" |
