diff options
| author | Chris McDonough <chrism@plope.com> | 2011-01-16 16:33:17 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-01-16 16:33:17 -0500 |
| commit | 08170aac53e6185ec68709c477e2e33436f8e38c (patch) | |
| tree | 1049b4d72f67e1580504f68d9f0eff7b4a6607c2 /CHANGES.txt | |
| parent | 8c3c02a98f800bacb32eb205fd242ffc406a13c5 (diff) | |
| download | pyramid-08170aac53e6185ec68709c477e2e33436f8e38c.tar.gz pyramid-08170aac53e6185ec68709c477e2e33436f8e38c.tar.bz2 pyramid-08170aac53e6185ec68709c477e2e33436f8e38c.zip | |
- When ``Configurator.include`` is passed a *module* as an argument, it
defaults to attempting to find and use a callable named ``includeme``
within that module. This makes it possible to use
``config.include('some.module')`` rather than
``config.include('some.module.somefunc')`` as long as the include function
within ``some.module`` is named ``includeme``.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index e00c59a1f..27a723fb4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -22,6 +22,13 @@ Features - Add ``add_directive`` method to configurator, which allows framework extenders to add methods to the configurator (ala ZCML directives). +- When ``Configurator.include`` is passed a *module* as an argument, it + defaults to attempting to find and use a callable named ``includeme`` + within that module. This makes it possible to use + ``config.include('some.module')`` rather than + ``config.include('some.module.somefunc')`` as long as the include function + within ``some.module`` is named ``includeme``. + Paster Templates ---------------- |
