diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-09-09 23:31:22 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-09-09 23:31:22 +0000 |
| commit | 2a02904ae13cc1e372bb47be1e116d3de4d7db85 (patch) | |
| tree | c80481b452710b0330a153820e72711b742d5d35 | |
| parent | f336c3637f381d7e13ada473c201e497bdb0e8a4 (diff) | |
| download | pyramid-2a02904ae13cc1e372bb47be1e116d3de4d7db85.tar.gz pyramid-2a02904ae13cc1e372bb47be1e116d3de4d7db85.tar.bz2 pyramid-2a02904ae13cc1e372bb47be1e116d3de4d7db85.zip | |
remove repeated section
| -rw-r--r-- | docs/narr/events.rst | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/narr/events.rst b/docs/narr/events.rst index a965a2765..dcdd3f094 100644 --- a/docs/narr/events.rst +++ b/docs/narr/events.rst @@ -61,24 +61,6 @@ need to use ZCML for the same purpose: subscriber function (or a :term:`dotted Python name` which refers to a subscriber callable); the second argument is the event type. -.. topic:: Configuring an Event Listener Through ZCML - - You can configure an event listener by modifying your application's - ``configure.zcml``. Here's an example of a bit of XML you can add - to the ``configure.zcml`` file which registers the above - ``mysubscriber`` function, which we assume lives in a - ``subscribers.py`` module within your application: - - .. code-block:: xml - :linenos: - - <subscriber - for="repoze.bfg.interfaces.INewRequest" - handler=".subscribers.mysubscriber" - /> - - See also :ref:`subscriber_directive`. - .. topic:: Configuring an Event Listener Using a Decorator You can configure a subscriber function to be called for some event |
