Tres Seaver
2016-02-23 cce4bc4cda428a844169b2152f8ba89b44751c2b
Merge pull request #2372 from Pylons/zodb_wiki_tutorial-authnz-return_logged_in

Fix view name order, windows for 'Return logged_in to renderer.
1 files modified
4 ■■■■ changed files
docs/tutorials/wiki/authorization.rst 4 ●●●● patch | view | raw | blame | history
docs/tutorials/wiki/authorization.rst
@@ -248,7 +248,7 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 @@
   :language: python
.. literalinclude:: src/authorization/tutorial/views.py
   :lines: 75-77
   :lines: 78-80
   :emphasize-lines: 2-3
   :language: python