diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/pyramid/config/routes.py | 2 | ||||
| -rw-r--r-- | src/pyramid/config/security.py | 4 | ||||
| -rw-r--r-- | src/pyramid/config/views.py | 2 | ||||
| -rw-r--r-- | src/pyramid/security.py | 6 |
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.' ), ) |
