summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/authorization.rst
diff options
context:
space:
mode:
authorCarlos de la Guardia <cguardia@yahoo.com>2011-06-07 01:54:50 -0500
committerCarlos de la Guardia <cguardia@yahoo.com>2011-06-07 01:54:50 -0500
commitfd5203000d4d051b51f804af023aefe59b832029 (patch)
treef92f1f163aed0d2c282fb674069f987fe4dfba47 /docs/tutorials/wiki/authorization.rst
parenta5713863a80a493a1485057609578b907d04c770 (diff)
parentdf75cee020e49cc4668448b83e0617b14904bfa2 (diff)
downloadpyramid-fd5203000d4d051b51f804af023aefe59b832029.tar.gz
pyramid-fd5203000d4d051b51f804af023aefe59b832029.tar.bz2
pyramid-fd5203000d4d051b51f804af023aefe59b832029.zip
Merge remote branch 'cito/master'
Diffstat (limited to 'docs/tutorials/wiki/authorization.rst')
-rw-r--r--docs/tutorials/wiki/authorization.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst
index 8781325d2..358c1d5eb 100644
--- a/docs/tutorials/wiki/authorization.rst
+++ b/docs/tutorials/wiki/authorization.rst
@@ -64,7 +64,7 @@ Adding ``security.py``
~~~~~~~~~~~~~~~~~~~~~~
Add a ``security.py`` module within your package (in the same
-directory as ``__init__.py``, ``views.py``, etc) with the following
+directory as ``__init__.py``, ``views.py``, etc.) with the following
content:
.. literalinclude:: src/authorization/tutorial/security.py
@@ -172,7 +172,7 @@ into its template. We'll add something like this to each view body:
logged_in = authenticated_userid(request)
We'll then change the return value of each view that has an associated
-``renderer`` to pass the `resulting `logged_in`` value to the
+``renderer`` to pass the resulting ``logged_in`` value to the
template. For example:
.. ignore-next-block
@@ -291,7 +291,7 @@ as follows:
credentials with the username ``editor``, password ``editor`` will
show the edit page form being displayed.
-- After logging in (as a result of hitting an edit or add page and
+- After logging in (as a result of hitting an edit or add page and
submitting the login form with the ``editor`` credentials), we'll see
a Logout link in the upper right hand corner. When we click it,
we're logged out, and redirected back to the front page.