diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-06-01 07:02:03 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-06-01 07:02:03 +0000 |
| commit | aff22be3468d594de35b2208bed1299aa9ba5074 (patch) | |
| tree | 7f13ec8144353309c24cee4f1d493c67f4fd91e4 /docs/tutorials/bfgwiki/authorization.rst | |
| parent | 9fe12960b70f9dc59ac4b3d4d469534e0867df1e (diff) | |
| download | pyramid-aff22be3468d594de35b2208bed1299aa9ba5074.tar.gz pyramid-aff22be3468d594de35b2208bed1299aa9ba5074.tar.bz2 pyramid-aff22be3468d594de35b2208bed1299aa9ba5074.zip | |
Add authorization chapter to bfgwiki2 tutorial.
Diffstat (limited to 'docs/tutorials/bfgwiki/authorization.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki/authorization.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/bfgwiki/authorization.rst b/docs/tutorials/bfgwiki/authorization.rst index 437cb9c74..ea2366a72 100644 --- a/docs/tutorials/bfgwiki/authorization.rst +++ b/docs/tutorials/bfgwiki/authorization.rst @@ -71,7 +71,7 @@ into its template. We'll add something like this to each view body: .. code-block:: python :linenos: - logged_in = authenticated_user(request) + logged_in = authenticated_userid(request) We'll then change the return value of ``render_template_to_response`` to pass the `resulting `logged_in`` value to the template, e.g.: |
