summaryrefslogtreecommitdiff
path: root/repoze/bfg/wsgi.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-01-06 18:53:17 +0000
committerChris McDonough <chrism@agendaless.com>2009-01-06 18:53:17 +0000
commitd20d094da95456e7939f9e77cc51f71d2d4561db (patch)
tree5b1b8fb4aa5549599b39249f8ebafbc390e3a7d4 /repoze/bfg/wsgi.py
parentd9423b6f9adbce7f8fdc9153644bd88be9a5b6c8 (diff)
downloadpyramid-d20d094da95456e7939f9e77cc51f71d2d4561db.tar.gz
pyramid-d20d094da95456e7939f9e77cc51f71d2d4561db.tar.bz2
pyramid-d20d094da95456e7939f9e77cc51f71d2d4561db.zip
- A ``static`` helper class was added to the ``repoze.bfg.views``
module. Instances of this class are willing to act as BFG views which return static resources using files on disk. See the :mod:`repoze.bfg.view` docs for more info.
Diffstat (limited to 'repoze/bfg/wsgi.py')
-rw-r--r--repoze/bfg/wsgi.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/repoze/bfg/wsgi.py b/repoze/bfg/wsgi.py
index 2a23fe7aa..149273c27 100644
--- a/repoze/bfg/wsgi.py
+++ b/repoze/bfg/wsgi.py
@@ -19,11 +19,11 @@ def wsgiapp(wrapped):
Allows the following view declaration to be made::
- <bfg:view
- view=".views.hello_world"
- name="hello_world.txt"
- context="*"
- />
+ <view
+ view=".views.hello_world"
+ name="hello_world.txt"
+ context="*"
+ />
The wsgiapp decorator will convert the result of the WSGI
application to a Response and return it to repoze.bfg as if the