diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-09 02:39:30 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-09 02:39:30 -0500 |
| commit | f383367b91b02b28e2beec8132241003aacbedfd (patch) | |
| tree | 07dc4c03c0fe1fbb66afac4a4d6459425bc28449 /docs | |
| parent | a1d52952622dfa4af64c80686e65a685c9936fb4 (diff) | |
| download | pyramid-f383367b91b02b28e2beec8132241003aacbedfd.tar.gz pyramid-f383367b91b02b28e2beec8132241003aacbedfd.tar.bz2 pyramid-f383367b91b02b28e2beec8132241003aacbedfd.zip | |
the configure_zcml setting is no longer a feature of the framework
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/extending.rst | 8 |
1 files 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 |
