diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-09 02:30:23 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-09 02:30:23 -0500 |
| commit | d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c (patch) | |
| tree | 8efe722347f1159d78f1dfb79bcc4c1c4ca3d931 /docs/zcml | |
| parent | 8cbe4d7a5a41e49151f524b720fef210948a60d6 (diff) | |
| download | pyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.tar.gz pyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.tar.bz2 pyramid-d7f2590a4c2c2164bdb01ba977119ccbb6b2b09c.zip | |
fix docs: pyramid.configuration -> pyramid.config
Diffstat (limited to 'docs/zcml')
| -rw-r--r-- | docs/zcml/aclauthorizationpolicy.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/authtktauthenticationpolicy.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/default_permission.rst | 4 | ||||
| -rw-r--r-- | docs/zcml/forbidden.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/localenegotiator.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/notfound.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/remoteuserauthenticationpolicy.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/renderer.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/repozewho1authenticationpolicy.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/resource.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/route.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/scan.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/static.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/subscriber.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/translationdir.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/view.rst | 2 |
16 files changed, 17 insertions, 17 deletions
diff --git a/docs/zcml/aclauthorizationpolicy.rst b/docs/zcml/aclauthorizationpolicy.rst index 7eecf6c6e..2c66da0c8 100644 --- a/docs/zcml/aclauthorizationpolicy.rst +++ b/docs/zcml/aclauthorizationpolicy.rst @@ -24,7 +24,7 @@ Alternatives You may create an instance of the :class:`pyramid.authorization.ACLAuthorizationPolicy` and pass it -to the :class:`pyramid.configuration.Configurator` constructor as +to the :class:`pyramid.config.Configurator` constructor as the ``authorization_policy`` argument during initial application configuration. diff --git a/docs/zcml/authtktauthenticationpolicy.rst b/docs/zcml/authtktauthenticationpolicy.rst index 1119de9b0..25be4186c 100644 --- a/docs/zcml/authtktauthenticationpolicy.rst +++ b/docs/zcml/authtktauthenticationpolicy.rst @@ -91,7 +91,7 @@ Alternatives You may create an instance of the :class:`pyramid.authentication.AuthTktAuthenticationPolicy` and -pass it to the :class:`pyramid.configuration.Configurator` +pass it to the :class:`pyramid.config.Configurator` constructor as the ``authentication_policy`` argument during initial application configuration. diff --git a/docs/zcml/default_permission.rst b/docs/zcml/default_permission.rst index beb60db1a..54e720ea6 100644 --- a/docs/zcml/default_permission.rst +++ b/docs/zcml/default_permission.rst @@ -43,11 +43,11 @@ Alternatives ~~~~~~~~~~~~ Using the ``default_permission`` argument to the -:class:`pyramid.configuration.Configurator` constructor can be used +:class:`pyramid.config.Configurator` constructor can be used to achieve the same purpose. Using the -:meth:`pyramid.configuration.Configurator.set_default_permission` +:meth:`pyramid.config.Configurator.set_default_permission` method can be used to achieve the same purpose when using imperative configuration. diff --git a/docs/zcml/forbidden.rst b/docs/zcml/forbidden.rst index f5b1b4644..7ea6b85fd 100644 --- a/docs/zcml/forbidden.rst +++ b/docs/zcml/forbidden.rst @@ -68,7 +68,7 @@ Alternatives Use the :ref:`view_directive` directive with a ``context`` that names the :exc:`pyramid.exceptions.Forbidden` class. -Use the :meth:`pyramid.configuration.Configurator.add_view` method, +Use the :meth:`pyramid.config.Configurator.add_view` method, passing it a ``context`` which is the :exc:`pyramid.exceptions.Forbidden` class. diff --git a/docs/zcml/localenegotiator.rst b/docs/zcml/localenegotiator.rst index 100fa837a..c90e649f6 100644 --- a/docs/zcml/localenegotiator.rst +++ b/docs/zcml/localenegotiator.rst @@ -29,7 +29,7 @@ Example Alternatives ~~~~~~~~~~~~ -Use :meth:`pyramid.configuration.Configurator.set_locale_negotiator` +Use :meth:`pyramid.config.Configurator.set_locale_negotiator` method instance during initial application setup. See Also diff --git a/docs/zcml/notfound.rst b/docs/zcml/notfound.rst index 54826ea17..a2ed95bc4 100644 --- a/docs/zcml/notfound.rst +++ b/docs/zcml/notfound.rst @@ -67,7 +67,7 @@ Alternatives Use the :ref:`view_directive` directive with a ``context`` that names the :exc:`pyramid.exceptions.NotFound` class. -Use the :meth:`pyramid.configuration.Configurator.add_view` method, +Use the :meth:`pyramid.config.Configurator.add_view` method, passing it a ``context`` which is the :exc:`pyramid.exceptions.NotFound` class. diff --git a/docs/zcml/remoteuserauthenticationpolicy.rst b/docs/zcml/remoteuserauthenticationpolicy.rst index d21cd99d2..56e73ee7a 100644 --- a/docs/zcml/remoteuserauthenticationpolicy.rst +++ b/docs/zcml/remoteuserauthenticationpolicy.rst @@ -40,7 +40,7 @@ Alternatives You may create an instance of the :class:`pyramid.authentication.RemoteUserAuthenticationPolicy` and -pass it to the :class:`pyramid.configuration.Configurator` +pass it to the :class:`pyramid.config.Configurator` constructor as the ``authentication_policy`` argument during initial application configuration. diff --git a/docs/zcml/renderer.rst b/docs/zcml/renderer.rst index 67c2a7f0c..c7beead32 100644 --- a/docs/zcml/renderer.rst +++ b/docs/zcml/renderer.rst @@ -42,7 +42,7 @@ Examples Alternatives ~~~~~~~~~~~~ -The :meth:`pyramid.configuration.Configurator.add_renderer` method +The :meth:`pyramid.config.Configurator.add_renderer` method is equivalent to the ``renderer`` ZCML directive. See Also diff --git a/docs/zcml/repozewho1authenticationpolicy.rst b/docs/zcml/repozewho1authenticationpolicy.rst index e5152f2e1..11907ce31 100644 --- a/docs/zcml/repozewho1authenticationpolicy.rst +++ b/docs/zcml/repozewho1authenticationpolicy.rst @@ -42,7 +42,7 @@ Alternatives You may create an instance of the :class:`pyramid.authentication.RepozeWho1AuthenticationPolicy` and -pass it to the :class:`pyramid.configuration.Configurator` +pass it to the :class:`pyramid.config.Configurator` constructor as the ``authentication_policy`` argument during initial application configuration. diff --git a/docs/zcml/resource.rst b/docs/zcml/resource.rst index 4cf5ef400..3f7c58faa 100644 --- a/docs/zcml/resource.rst +++ b/docs/zcml/resource.rst @@ -53,7 +53,7 @@ Examples Alternatives ~~~~~~~~~~~~ -The :meth:`pyramid.configuration.Configurator.override_resource` +The :meth:`pyramid.config.Configurator.override_resource` method can be used instead of the ``resource`` ZCML directive. See Also diff --git a/docs/zcml/route.rst b/docs/zcml/route.rst index c3bec72df..4f7cdb955 100644 --- a/docs/zcml/route.rst +++ b/docs/zcml/route.rst @@ -215,7 +215,7 @@ Alternatives You can also add a :term:`route configuration` via: -- Using the :meth:`pyramid.configuration.Configurator.add_route` method. +- Using the :meth:`pyramid.config.Configurator.add_route` method. See Also ~~~~~~~~ diff --git a/docs/zcml/scan.rst b/docs/zcml/scan.rst index cbf797e1c..df2cdd281 100644 --- a/docs/zcml/scan.rst +++ b/docs/zcml/scan.rst @@ -25,7 +25,7 @@ Example Alternatives ~~~~~~~~~~~~ -The :meth:`pyramid.configuration.Configurator.scan` method performs +The :meth:`pyramid.config.Configurator.scan` method performs the same job as the ``scan`` ZCML directive. See Also diff --git a/docs/zcml/static.rst b/docs/zcml/static.rst index 164e7400c..9538d18f0 100644 --- a/docs/zcml/static.rst +++ b/docs/zcml/static.rst @@ -79,7 +79,7 @@ Examples Alternatives ~~~~~~~~~~~~ -:meth:`pyramid.configuration.configurator.add_static_view` can also +:meth:`pyramid.config.Configurator.add_static_view` can also be used to add a static view. See Also diff --git a/docs/zcml/subscriber.rst b/docs/zcml/subscriber.rst index d584f1e02..25c4abf2e 100644 --- a/docs/zcml/subscriber.rst +++ b/docs/zcml/subscriber.rst @@ -37,7 +37,7 @@ Alternatives ~~~~~~~~~~~~ You can also register an event listener by using the -:meth:`pyramid.configuration.Configurator.add_subscriber` method. +:meth:`pyramid.config.Configurator.add_subscriber` method. See Also ~~~~~~~~ diff --git a/docs/zcml/translationdir.rst b/docs/zcml/translationdir.rst index 56c0977db..5cf615d26 100644 --- a/docs/zcml/translationdir.rst +++ b/docs/zcml/translationdir.rst @@ -55,7 +55,7 @@ Example 3 Alternatives ~~~~~~~~~~~~ -Use :meth:`pyramid.configuration.Configurator.add_translation_dirs` +Use :meth:`pyramid.config.Configurator.add_translation_dirs` method instance during initial application setup. See Also diff --git a/docs/zcml/view.rst b/docs/zcml/view.rst index 6e67b4c56..74d497cb3 100644 --- a/docs/zcml/view.rst +++ b/docs/zcml/view.rst @@ -244,7 +244,7 @@ You can also add a :term:`view configuration` via: - Using the :class:`pyramid.view.view_config` class as a decorator. -- Using the :meth:`pyramid.configuration.Configurator.add_view` method. +- Using the :meth:`pyramid.config.Configurator.add_view` method. See Also ~~~~~~~~ |
