summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-11-25 03:37:29 -0800
committerSteve Piercy <web@stevepiercy.com>2018-11-25 03:37:29 -0800
commit3176aa197371a912f4fd9a90a4645074bccabfda (patch)
treec66f1a10dd3b9a946a1750afaa2afb1c4443fda0 /docs/tutorials/wiki
parent047394ea8ee37fb9161e8dad7693e82112f40d31 (diff)
downloadpyramid-3176aa197371a912f4fd9a90a4645074bccabfda.tar.gz
pyramid-3176aa197371a912f4fd9a90a4645074bccabfda.tar.bz2
pyramid-3176aa197371a912f4fd9a90a4645074bccabfda.zip
Align line numbers with src in views
Diffstat (limited to 'docs/tutorials/wiki')
-rw-r--r--docs/tutorials/wiki/definingviews.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/wiki/definingviews.rst b/docs/tutorials/wiki/definingviews.rst
index 7d3c65e58..0435a70d2 100644
--- a/docs/tutorials/wiki/definingviews.rst
+++ b/docs/tutorials/wiki/definingviews.rst
@@ -113,7 +113,7 @@ The ``view_wiki`` view function
Following is the code for the ``view_wiki`` view function and its decorator:
.. literalinclude:: src/views/tutorial/views/default.py
- :lines: 12-14
+ :lines: 13-15
:lineno-match:
:language: python
@@ -144,7 +144,7 @@ The ``view_page`` view function
Here is the code for the ``view_page`` view function and its decorator:
.. literalinclude:: src/views/tutorial/views/default.py
- :lines: 16-33
+ :lines: 18-35
:lineno-match:
:language: python
@@ -183,7 +183,7 @@ The ``add_page`` view function
Here is the code for the ``add_page`` view function and its decorator:
.. literalinclude:: src/views/tutorial/views/default.py
- :lines: 35-50
+ :lines: 38-53
:lineno-match:
:language: python
@@ -231,7 +231,7 @@ The ``edit_page`` view function
Here is the code for the ``edit_page`` view function and its decorator:
.. literalinclude:: src/views/tutorial/views/default.py
- :lines: 52-60
+ :lines: 56-64
:lineno-match:
:language: python