Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 55 lines (32 sloc) 1.558 kb
a71aa2e @mcdonc commit forgotten file
mcdonc authored
1 .. _registry_module:
2
3 :mod:`pyramid.registry`
4 ---------------------------
5
6 .. module:: pyramid.registry
7
8 .. autoclass:: Registry
9
10 .. attribute:: settings
11
a5ef0f1 @mcdonc extend description of settings
mcdonc authored
12 The dictionary-like :term:`deployment settings` object. See
13 :ref:`deployment_settings` for information. This object is often
14 accessed as ``request.registry.settings`` or
15 ``config.registry.settings`` in a typical Pyramid application.
a71aa2e @mcdonc commit forgotten file
mcdonc authored
16
e006229 @pauleveritt Small fix for RST misfire.
pauleveritt authored
17 .. attribute:: introspector
57a0d77 @mcdonc docs; todo; coverage for Introspector
mcdonc authored
18
19 When a registry is set up (or created) by a :term:`Configurator`, the
20 registry will be decorated with an instance named ``introspector``
21 implementing the :class:`pyramid.interfaces.IIntrospector` interface.
e006229 @pauleveritt Small fix for RST misfire.
pauleveritt authored
22 See also :attr:`pyramid.config.Configurator.introspector`.
57a0d77 @mcdonc docs; todo; coverage for Introspector
mcdonc authored
23
24 When a registry is created "by hand", however, this attribute will not
25 exist until set up by a configurator.
26
27 This attribute is often accessed as ``request.registry.introspector`` in
28 a typical Pyramid application.
29
30 This attribute is new as of :app:`Pyramid` 1.3.
31
32 .. class:: Introspectable
33
34 The default implementation of the interface
35 :class:`pyramid.interfaces.IIntrospectable` used by framework exenders.
043ccdd @tshepang eliminate other repeated words
tshepang authored
36 An instance of this class is created when
57a0d77 @mcdonc docs; todo; coverage for Introspector
mcdonc authored
37 :attr:`pyramid.config.Configurator.introspectable` is called.
38
39 This class is new as of :app:`Pyramid` 1.3.
40
d986123 @mcdonc move stuff from config.util to registry so it can be a set of API (which...
mcdonc authored
41 .. autoclass:: Deferred
42
43 This class is new as of :app:`Pyramid` 1.4.
44
45 .. autofunction:: undefer
46
47 This function is new as of :app:`Pyramid` 1.4.
48
49 .. autoclass:: predvalseq
50
51 This class is new as of :app:`Pyramid` 1.4.
52
53
54
Something went wrong with that request. Please try again.