diff options
| author | Michael Merickel <michael@merickel.org> | 2020-01-12 20:49:35 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2020-01-12 20:49:35 -0600 |
| commit | 791730715832038c1666683e37fef8bb67830045 (patch) | |
| tree | 423b5ef973f239d8565d5e68ed91ecd17ae7b1b8 /docs/narr/advanced-features.rst | |
| parent | 1395359d653df5507146a44ccab6f0e2ab85ac65 (diff) | |
| download | pyramid-791730715832038c1666683e37fef8bb67830045.tar.gz pyramid-791730715832038c1666683e37fef8bb67830045.tar.bz2 pyramid-791730715832038c1666683e37fef8bb67830045.zip | |
move doc references from pyramid.security to pyramid.authorization
Diffstat (limited to 'docs/narr/advanced-features.rst')
| -rw-r--r-- | docs/narr/advanced-features.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/advanced-features.rst b/docs/narr/advanced-features.rst index 8d99f7291..6e819ff5b 100644 --- a/docs/narr/advanced-features.rst +++ b/docs/narr/advanced-features.rst @@ -34,7 +34,7 @@ For our example above, you can do this instead: .. code-block:: python :linenos: - @view_config(route_name="items", effective_principals=pyramid.security.Authenticated) + @view_config(route_name="items", effective_principals=pyramid.authorization.Authenticated) def auth_view(request): # do one thing |
