summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src/authorization
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-16 10:34:45 -0600
committerMichael Merickel <michael@merickel.org>2020-01-16 10:34:45 -0600
commit592cadd9c20ce410d9ab7b9a748ec59dff001f65 (patch)
tree2e4133bffc8363259afef49f8899402d17098246 /docs/tutorials/wiki2/src/authorization
parenta7f61dc1ae95ffddacccfb583fa7a8f6d294f4b9 (diff)
downloadpyramid-592cadd9c20ce410d9ab7b9a748ec59dff001f65.tar.gz
pyramid-592cadd9c20ce410d9ab7b9a748ec59dff001f65.tar.bz2
pyramid-592cadd9c20ce410d9ab7b9a748ec59dff001f65.zip
update docs with pyramid.authorizatio imports after syncing master
Diffstat (limited to 'docs/tutorials/wiki2/src/authorization')
-rw-r--r--docs/tutorials/wiki2/src/authorization/tutorial/routes.py8
-rw-r--r--docs/tutorials/wiki2/src/authorization/tutorial/security.py8
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/tutorials/wiki2/src/authorization/tutorial/routes.py b/docs/tutorials/wiki2/src/authorization/tutorial/routes.py
index f016d7541..f7bbe6011 100644
--- a/docs/tutorials/wiki2/src/authorization/tutorial/routes.py
+++ b/docs/tutorials/wiki2/src/authorization/tutorial/routes.py
@@ -1,11 +1,11 @@
+from pyramid.authorization import (
+ Allow,
+ Everyone,
+)
from pyramid.httpexceptions import (
HTTPNotFound,
HTTPSeeOther,
)
-from pyramid.security import (
- Allow,
- Everyone,
-)
from . import models
diff --git a/docs/tutorials/wiki2/src/authorization/tutorial/security.py b/docs/tutorials/wiki2/src/authorization/tutorial/security.py
index 7a99fb9e9..5a9d4bbf2 100644
--- a/docs/tutorials/wiki2/src/authorization/tutorial/security.py
+++ b/docs/tutorials/wiki2/src/authorization/tutorial/security.py
@@ -1,11 +1,11 @@
from pyramid.authentication import AuthTktCookieHelper
-from pyramid.authorization import ACLHelper
-from pyramid.csrf import CookieCSRFStoragePolicy
-from pyramid.request import RequestLocalCache
-from pyramid.security import (
+from pyramid.authorization import (
+ ACLHelper,
Authenticated,
Everyone,
)
+from pyramid.csrf import CookieCSRFStoragePolicy
+from pyramid.request import RequestLocalCache
from . import models