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/api/config.rst | |
| 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/api/config.rst')
| -rw-r--r-- | docs/api/config.rst | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/docs/api/config.rst b/docs/api/config.rst new file mode 100644 index 000000000..64dc4d0dd --- /dev/null +++ b/docs/api/config.rst @@ -0,0 +1,86 @@ +.. _configuration_module: + +:mod:`pyramid.config` +--------------------- + +.. automodule:: pyramid.config + + .. autoclass:: Configurator(registry=None, package=None, settings=None, root_factory=None, authentication_policy=None, authorization_policy=None, renderers=DEFAULT_RENDERERS, debug_logger=None, locale_negotiator=None, request_factory=None, renderer_globals_factory=None, default_permission=None, session_factory=None, autocommit=False) + + .. attribute:: registry + + The :term:`application registry` which holds the configuration + associated with this configurator. + + .. automethod:: begin + + .. automethod:: end + + .. automethod:: hook_zca() + + .. automethod:: unhook_zca() + + .. automethod:: get_settings + + .. automethod:: commit + + .. automethod:: action + + .. automethod:: include + + .. automethod:: with_package + + .. automethod:: maybe_dotted + + .. automethod:: absolute_resource_spec + + .. automethod:: setup_registry(settings=None, root_factory=None, authentication_policy=None, renderers=DEFAULT_RENDERERS, debug_logger=None, locale_negotiator=None, request_factory=None, renderer_globals_factory=None) + + .. automethod:: add_renderer(name, factory) + + .. automethod:: add_route + + .. automethod:: add_static_view(name, path, cache_max_age=3600, permission='__no_permission_required__') + + .. automethod:: add_settings + + .. automethod:: add_subscriber + + .. automethod:: add_translation_dirs + + .. automethod:: add_handler + + .. automethod:: add_view + + .. automethod:: derive_view + + .. automethod:: load_zcml(spec) + + .. automethod:: make_wsgi_app() + + .. automethod:: override_resource(to_override, override_with) + + .. automethod:: scan(package=None, categories=None) + + .. automethod:: set_forbidden_view(view=None, attr=None, renderer=None, wrapper=None) + + .. automethod:: set_notfound_view(view=None, attr=None, renderer=None, wrapper=None) + + .. automethod:: set_locale_negotiator + + .. automethod:: set_default_permission + + .. automethod:: set_session_factory + + .. automethod:: set_request_factory + + .. automethod:: set_renderer_globals_factory + + .. automethod:: testing_securitypolicy + + .. automethod:: testing_models + + .. automethod:: testing_add_subscriber + + .. automethod:: testing_add_renderer + |
