summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-12-24 16:07:50 -0600
committerMichael Merickel <michael@merickel.org>2019-12-24 16:07:50 -0600
commit1631386fe2d8ea0f7419812b9cab381c668d2ebb (patch)
tree186792f43eef99b67eaa561ffa1993180ec45271 /src
parent7a4306777e60e074285292bbc9d1a46c735b6bc5 (diff)
downloadpyramid-1631386fe2d8ea0f7419812b9cab381c668d2ebb.tar.gz
pyramid-1631386fe2d8ea0f7419812b9cab381c668d2ebb.tar.bz2
pyramid-1631386fe2d8ea0f7419812b9cab381c668d2ebb.zip
add "of the documentation" pointer to deprecation warnings
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/config/routes.py2
-rw-r--r--src/pyramid/config/security.py4
-rw-r--r--src/pyramid/config/views.py2
-rw-r--r--src/pyramid/security.py6
4 files changed, 7 insertions, 7 deletions
diff --git a/src/pyramid/config/routes.py b/src/pyramid/config/routes.py
index ad846a107..25af9627d 100644
--- a/src/pyramid/config/routes.py
+++ b/src/pyramid/config/routes.py
@@ -338,7 +338,7 @@ class RoutesConfiguratorMixin(object):
'The new security policy has deprecated '
'effective_principals. See "Upgrading '
'Authentication/Authorization" in "What\'s New in '
- 'Pyramid 2.0" for more information.'
+ 'Pyramid 2.0" of the documentation for more information.'
),
DeprecationWarning,
stacklevel=3,
diff --git a/src/pyramid/config/security.py b/src/pyramid/config/security.py
index 8d6a417c0..7d6703b07 100644
--- a/src/pyramid/config/security.py
+++ b/src/pyramid/config/security.py
@@ -81,7 +81,7 @@ class SecurityConfiguratorMixin(object):
'Authentication and authorization policies have been deprecated '
'in favor of security policies. See "Upgrading '
'Authentication/Authorization" in "What\'s New in Pyramid 2.0" '
- 'for more information.',
+ 'of the documentation for more information.',
DeprecationWarning,
stacklevel=3,
)
@@ -142,7 +142,7 @@ class SecurityConfiguratorMixin(object):
'Authentication and authorization policies have been deprecated '
'in favor of security policies. See "Upgrading '
'Authentication/Authorization" in "What\'s New in Pyramid 2.0" '
- 'for more information.',
+ 'of the documentation for more information.',
DeprecationWarning,
stacklevel=3,
)
diff --git a/src/pyramid/config/views.py b/src/pyramid/config/views.py
index 2260d5d54..3fc6a4a58 100644
--- a/src/pyramid/config/views.py
+++ b/src/pyramid/config/views.py
@@ -797,7 +797,7 @@ class ViewsConfiguratorMixin(object):
'The new security policy has deprecated '
'effective_principals. See "Upgrading '
'Authentication/Authorization" in "What\'s New in '
- 'Pyramid 2.0" for more information.'
+ 'Pyramid 2.0" of the documentation for more information.'
),
DeprecationWarning,
stacklevel=4,
diff --git a/src/pyramid/security.py b/src/pyramid/security.py
index 2a0fb1279..8a7985a52 100644
--- a/src/pyramid/security.py
+++ b/src/pyramid/security.py
@@ -138,7 +138,7 @@ deprecated(
'principals_allowed_by_permission',
'The new security policy has removed the concept of principals. See '
'"Upgrading Authentication/Authorization" in "What\'s New in Pyramid 2.0" '
- 'for more information.',
+ 'of the documentation for more information.',
)
@@ -384,7 +384,7 @@ class AuthenticationAPIMixin(object):
(
'The new security policy has deprecated unauthenticated_userid. '
'See "Upgrading Authentication/Authorization" in "What\'s New in '
- 'Pyramid 2.0" for more information.'
+ 'Pyramid 2.0" of the documentation for more information.'
),
)
@@ -413,7 +413,7 @@ class AuthenticationAPIMixin(object):
(
'The new security policy has deprecated effective_principals. '
'See "Upgrading Authentication/Authorization" in "What\'s New in '
- 'Pyramid 2.0" for more information.'
+ 'Pyramid 2.0" of the documentation for more information.'
),
)