From b5104e12d5f4e8618b6bc21bf7a0da2bce62d8cb Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 2 Jul 2009 17:20:31 +0000 Subject: Allow ``zcml_configure`` value to override the package. --- docs/narr/environment.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/narr/environment.rst b/docs/narr/environment.rst index 48553940a..abca73433 100644 --- a/docs/narr/environment.rst +++ b/docs/narr/environment.rst @@ -54,7 +54,16 @@ application-specific configuration settings. | | | this is a relative filename, it will | | | | be considered relative to the | | | | ``package`` passed to ``make_app`` | -| | | by the application. | +| | | by the application. It may also | +| | | take the form of a resource | +| | | "specification" which names both the | +| | | package name and a package-relative | +| | | filename, e.g. | +| | | ``dotted.package.name:path/to.zcml``. | +| | | If it is a resource specification, | +| | | both the *package* and the | +| | | *filename* passed to ``make_app`` are | +| | | overridden with the implied values. | +---------------------------------+-----------------------------+----------------------------------------+ Examples -- cgit v1.2.3