diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-07-02 17:20:31 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-07-02 17:20:31 +0000 |
| commit | b5104e12d5f4e8618b6bc21bf7a0da2bce62d8cb (patch) | |
| tree | ed2df319cfb894bf2ea501b5efa42a5412956af1 /docs | |
| parent | 5e19ddda73d5792fe27a6710319c16860373c589 (diff) | |
| download | pyramid-b5104e12d5f4e8618b6bc21bf7a0da2bce62d8cb.tar.gz pyramid-b5104e12d5f4e8618b6bc21bf7a0da2bce62d8cb.tar.bz2 pyramid-b5104e12d5f4e8618b6bc21bf7a0da2bce62d8cb.zip | |
Allow ``zcml_configure`` value to override the package.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/environment.rst | 11 |
1 files changed, 10 insertions, 1 deletions
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 |
