diff options
| author | Tres Seaver <tseaver@palladion.com> | 2016-02-23 15:04:33 -0500 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2016-02-23 15:04:33 -0500 |
| commit | ec82bb52601b9f923207a9d42c65e05819cea335 (patch) | |
| tree | 60c70e6c3e81c40f767252b151e2cb825d95515f /docs/tutorials/wiki/authorization.rst | |
| parent | d171b9d5390cefa2f64cb5d294770bc032ac0bc3 (diff) | |
| download | pyramid-ec82bb52601b9f923207a9d42c65e05819cea335.tar.gz pyramid-ec82bb52601b9f923207a9d42c65e05819cea335.tar.bz2 pyramid-ec82bb52601b9f923207a9d42c65e05819cea335.zip | |
Fix view name order, windows for 'Return logged_in to renderer.
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
| -rw-r--r-- | docs/tutorials/wiki/authorization.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst index b0a8c155d..c6f551b42 100644 --- a/docs/tutorials/wiki/authorization.rst +++ b/docs/tutorials/wiki/authorization.rst @@ -248,7 +248,7 @@ Return a ``logged_in`` flag to the renderer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Open ``tutorial/tutorial/views.py`` again. Add a ``logged_in`` parameter to -the return value of ``view_page()``, ``edit_page()``, and ``add_page()`` as +the return value of ``view_page()``, ``add_page()``, and ``edit_page()`` as follows: .. literalinclude:: src/authorization/tutorial/views.py @@ -262,7 +262,7 @@ follows: :language: python .. literalinclude:: src/authorization/tutorial/views.py - :lines: 75-77 + :lines: 78-80 :emphasize-lines: 2-3 :language: python |
