diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-27 15:47:11 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-27 15:47:11 +0000 |
| commit | 156375861f191f51f4e97ce25cd4d39f8025f90b (patch) | |
| tree | ead4a91f8781cc26b6754e496d5e52399568edbe /repoze/bfg/registry.py | |
| parent | 711b60c05b9573f688994233ec1baac3f89bc45a (diff) | |
| download | pyramid-156375861f191f51f4e97ce25cd4d39f8025f90b.tar.gz pyramid-156375861f191f51f4e97ce25cd4d39f8025f90b.tar.bz2 pyramid-156375861f191f51f4e97ce25cd4d39f8025f90b.zip | |
- A paster command has been added named "bfgshell". This command can
be used to get an interactive prompt with your BFG root object in
the global namespace. E.g.::
bin/paster bfgshell /path/to/myapp.ini myapp
See the ``Project`` chapter in the BFG documentation for more
information.
Diffstat (limited to 'repoze/bfg/registry.py')
| -rw-r--r-- | repoze/bfg/registry.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/repoze/bfg/registry.py b/repoze/bfg/registry.py index b9397e7da..46db57c9e 100644 --- a/repoze/bfg/registry.py +++ b/repoze/bfg/registry.py @@ -112,9 +112,7 @@ registry_manager = FakeRegistryManager() deprecated('registry_manager', 'As of repoze.bfg 0.9, any import of registry_manager from' '``repoze.bfg.registry`` is ' - 'deprecated. Instead, if you are trying to push a BFG ' - 'application registry into a registry_manager within a "debug" ' - 'script, call ``app.get_root(environ)``, which has the side ' - 'effect of pushing the current registry into a thread local ' - 'stack. ``registry_manager`` will disappear in a later ' - 'release of repoze.bfg') + 'deprecated. If you are trying to use the registry manager ' + 'within a "debug" script of your own making, use the ``bfgshell`` ' + 'paster command instead ``registry_manager`` will disappear in ' + 'a later release of repoze.bfg') |
