diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-08 23:52:57 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-08 23:52:57 -0500 |
| commit | 1562afdea0328656ff456ead0d560d97452b2475 (patch) | |
| tree | 87abdec019d068d32c31876b4f1f53275743bdd5 /docs | |
| parent | 589ee791d524a1559baf33deaf3e3636428f9974 (diff) | |
| parent | 0fc13510a9b0c25c99ee34cb760770dd7c0f59f5 (diff) | |
| download | pyramid-1562afdea0328656ff456ead0d560d97452b2475.tar.gz pyramid-1562afdea0328656ff456ead0d560d97452b2475.tar.bz2 pyramid-1562afdea0328656ff456ead0d560d97452b2475.zip | |
Merge branch 'loginx-master'
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorials/wiki2/authorization.rst | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/docs/tutorials/wiki2/authorization.rst b/docs/tutorials/wiki2/authorization.rst index 1746689e4..1691337e9 100644 --- a/docs/tutorials/wiki2/authorization.rst +++ b/docs/tutorials/wiki2/authorization.rst @@ -104,7 +104,8 @@ model via its ACL, so only the a user whom is a member of the group named Viewing Your Changes ~~~~~~~~~~~~~~~~~~~~ -When you're done, your ``__init__.py`` will look like so: +When we're done configuring a root factory, adding an authorization policy, +and adding views, your application's ``__init__.py`` will look like this: .. literalinclude:: src/authorization/tutorial/__init__.py :linenos: @@ -119,15 +120,6 @@ representing a :term:`dotted Python name`, which points at the ``groupfinder`` function in the current directory's ``security.py`` file. We haven't added that module yet, but we're about to. -Viewing Our Edits to ``__init__.py`` -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -When we're done configuring a root factory, adding an authorization policy, -and adding views, your application's ``__init__.py`` will look like this: - -.. literalinclude:: src/authorization/tutorial/__init__.py - :linenos: - :language: python Adding ``security.py`` ~~~~~~~~~~~~~~~~~~~~~~ |
