diff options
| author | Michael Merickel <michael@merickel.org> | 2013-08-12 16:29:13 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2013-08-12 16:29:13 -0500 |
| commit | 5ae91a8ef06c4484bf748c7be578b28d0ca0f12c (patch) | |
| tree | 6aaacaeb083c206a2726d406addadef1f6a4b257 /docs/api | |
| parent | 486dd8a441a17a6b88340eaf293b808c4e0c138b (diff) | |
| parent | 8339cd1095be5e49fe41662e3618b8da6055a4f0 (diff) | |
| download | pyramid-5ae91a8ef06c4484bf748c7be578b28d0ca0f12c.tar.gz pyramid-5ae91a8ef06c4484bf748c7be578b28d0ca0f12c.tar.bz2 pyramid-5ae91a8ef06c4484bf748c7be578b28d0ca0f12c.zip | |
Merge branch 'pull/1079'
Diffstat (limited to 'docs/api')
| -rw-r--r-- | docs/api/registry.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/api/registry.rst b/docs/api/registry.rst index db348495c..7736cf075 100644 --- a/docs/api/registry.rst +++ b/docs/api/registry.rst @@ -29,6 +29,15 @@ This attribute is often accessed as ``request.registry.introspector`` in a typical Pyramid application. + .. method:: notify(*events) + + Fire one or more events. All event subscribers to the event(s) + will be notified. The subscribers will be called synchronously. + This method is often accessed as ``request.registry.notify`` + in Pyramid applications to fire custom events. See + :ref:`custom_events` for more information. + + .. class:: Introspectable .. versionadded:: 1.3 |
