Chris McDonough
2012-01-29 d1ad7044480901123b9c744b686b579491c36683
show decorators along with view callables, fixes #393
3 files modified
16 ■■■■ changed files
docs/tutorials/wiki/authorization.rst 4 ●●●● patch | view | raw | blame | history
docs/tutorials/wiki2/authorization.rst 4 ●●●● patch | view | raw | blame | history
docs/tutorials/wiki2/definingviews.rst 8 ●●●● patch | view | raw | blame | history
docs/tutorials/wiki/authorization.rst
@@ -132,14 +132,14 @@
project.  Here's what the ``login`` view callable will look like:
.. literalinclude:: src/authorization/tutorial/views.py
   :pyobject: login
   :lines: 83-111
   :linenos:
   :language: python
Here's what the ``logout`` view callable will look like:
.. literalinclude:: src/authorization/tutorial/views.py
   :pyobject: logout
   :lines: 113-117
   :linenos:
   :language: python
docs/tutorials/wiki2/authorization.rst
@@ -159,14 +159,14 @@
The ``login`` view callable will look something like this:
.. literalinclude:: src/authorization/tutorial/views.py
   :pyobject: login
   :lines: 90-116
   :linenos:
   :language: python
The ``logout`` view callable will look something like this:
.. literalinclude:: src/authorization/tutorial/views.py
   :pyobject: logout
   :lines: 118-122
   :linenos:
   :language: python
docs/tutorials/wiki2/definingviews.rst
@@ -104,7 +104,7 @@
a URL which represents the path to our "FrontPage".
.. literalinclude:: src/views/tutorial/views.py
   :pyobject: view_wiki
   :lines: 18-21
   :linenos:
   :language: python
@@ -126,7 +126,7 @@
compiled regular expression.
.. literalinclude:: src/views/tutorial/views.py
   :pyobject: view_page
   :lines: 23-44
   :linenos:
   :language: python
@@ -161,7 +161,7 @@
will have the values we need to construct URLs and find model objects.
.. literalinclude:: src/views/tutorial/views.py
   :pyobject: add_page
   :lines: 46-58
   :linenos:
   :language: python
@@ -197,7 +197,7 @@
matching the name of the page the user wants to edit.
.. literalinclude:: src/views/tutorial/views.py
   :pyobject: edit_page
   :lines: 60-73
   :linenos:
   :language: python