[Checkins] SVN: hurry.resource/trunk/src/hurry/resource/ Don't pull in Middleware in hurry.resource as that would make
Martijn Faassen
faassen at startifact.com
Sat Jul 24 08:57:57 EDT 2010
Log message for revision 114988:
Don't pull in Middleware in hurry.resource as that would make
webob dependency required instead of optional.
Changed:
U hurry.resource/trunk/src/hurry/resource/README.txt
U hurry.resource/trunk/src/hurry/resource/__init__.py
-=-
Modified: hurry.resource/trunk/src/hurry/resource/README.txt
===================================================================
--- hurry.resource/trunk/src/hurry/resource/README.txt 2010-07-24 12:55:35 UTC (rev 114987)
+++ hurry.resource/trunk/src/hurry/resource/README.txt 2010-07-24 12:57:57 UTC (rev 114988)
@@ -982,7 +982,7 @@
We now wrap this in our middleware, so that the middleware is activated::
- >>> from hurry.resource import Middleware
+ >>> from hurry.resource.wsgi import Middleware
>>> wrapped_app = Middleware(app)
Now we make a request (using webob for convenience)::
Modified: hurry.resource/trunk/src/hurry/resource/__init__.py
===================================================================
--- hurry.resource/trunk/src/hurry/resource/__init__.py 2010-07-24 12:55:35 UTC (rev 114987)
+++ hurry.resource/trunk/src/hurry/resource/__init__.py 2010-07-24 12:57:57 UTC (rev 114988)
@@ -14,5 +14,3 @@
from hurry.resource.core import (register_plugin,
get_current_needed_inclusions)
-
-from hurry.resource.wsgi import Middleware
More information about the checkins
mailing list