Skip to content

Commit

Permalink
Fix view name order, windows for 'Return logged_in to renderer.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Feb 23, 2016
1 parent d23c62d commit 8ba7f8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/wiki/authorization.rst
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 8ba7f8f

Please sign in to comment.