From f383367b91b02b28e2beec8132241003aacbedfd Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 9 Nov 2010 02:39:30 -0500 Subject: the configure_zcml setting is no longer a feature of the framework --- docs/narr/extending.rst | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/narr/extending.rst b/docs/narr/extending.rst index ac482895b..17ab370ea 100644 --- a/docs/narr/extending.rst +++ b/docs/narr/extending.rst @@ -168,11 +168,9 @@ something like this: registrations. See :ref:`overriding_views`, :ref:`overriding_routes` and :ref:`overriding_resources`. -- Change the Paste ``.ini`` file that starts up the original - application. Add a ``configure_zcml`` key within the application's - section in the file which points at your *new* package's - ``configure.zcml`` file. See :ref:`environment_chapter` for more - information about this setting. +- In the ``__init__.py`` of the new package, load the ``configure.zcml`` file + of the new package using the + :meth:`pyramid.configuration.Configurator.load_zcml` method. .. index:: pair: overriding; views -- cgit v1.2.3