diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-11-25 03:37:29 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-11-25 03:37:29 -0800 |
| commit | 3176aa197371a912f4fd9a90a4645074bccabfda (patch) | |
| tree | c66f1a10dd3b9a946a1750afaa2afb1c4443fda0 /docs/tutorials | |
| parent | 047394ea8ee37fb9161e8dad7693e82112f40d31 (diff) | |
| download | pyramid-3176aa197371a912f4fd9a90a4645074bccabfda.tar.gz pyramid-3176aa197371a912f4fd9a90a4645074bccabfda.tar.bz2 pyramid-3176aa197371a912f4fd9a90a4645074bccabfda.zip | |
Align line numbers with src in views
Diffstat (limited to 'docs/tutorials')
| -rw-r--r-- | docs/tutorials/wiki/definingviews.rst | 8 |
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 |
