diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-09-17 06:14:27 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-09-17 06:14:27 +0000 |
| commit | 19473e78e61ad084f07a0f7820a75b6c64d93dcd (patch) | |
| tree | 77de1251af1041601adae3017060c46eef4739d1 /repoze/bfg/includes | |
| parent | 550e16bb5936f5e22954992e50ac57f7f5cff4e0 (diff) | |
| download | pyramid-19473e78e61ad084f07a0f7820a75b6c64d93dcd.tar.gz pyramid-19473e78e61ad084f07a0f7820a75b6c64d93dcd.tar.bz2 pyramid-19473e78e61ad084f07a0f7820a75b6c64d93dcd.zip | |
- Add a ``string`` renderer. This renderer converts a non-Response
return value of any view callble into a string. It is documented in
the "Views" narrative chapter.
Diffstat (limited to 'repoze/bfg/includes')
| -rw-r--r-- | repoze/bfg/includes/configure.zcml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/repoze/bfg/includes/configure.zcml b/repoze/bfg/includes/configure.zcml index 37cd4d75a..60119b2c9 100644 --- a/repoze/bfg/includes/configure.zcml +++ b/repoze/bfg/includes/configure.zcml @@ -33,4 +33,9 @@ name="json" /> + <renderer + factory="repoze.bfg.renderers.string_renderer_factory" + name="string" + /> + </configure> |
