summaryrefslogtreecommitdiff
path: root/docs/api/config.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/config.rst')
-rw-r--r--docs/api/config.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/api/config.rst b/docs/api/config.rst
index 71ef4a746..2c394ac41 100644
--- a/docs/api/config.rst
+++ b/docs/api/config.rst
@@ -86,3 +86,15 @@
.. automethod:: testing_add_renderer
+ .. attribute:: global_registries
+
+ The set of registries that have been created for :app:`Pyramid`
+ applications, one per each call to
+ :meth:`pyramid.config.Configurator.make_app` in the current process. The
+ object itself supports iteration and has a ``last`` property containing
+ the last registry loaded.
+
+ The registries contained in this object are stored as weakrefs,
+ thus they will only exist for the lifetime of the actual
+ applications for which they are being used.
+