Commits

Lynn Rees  committed d5562f1

- update

  • Participants
  • Parent commits 6cab30c

Comments (0)

Files changed (2)

+WSGI middleware that connects TurboGears/Buffet template plug-ins to any WSGI-enabled application.
+    
+Usage example::
+
+    from wsgiview import view
+
+    @view('webstring:template.html', format='html')
+    def simple_app(environ, start_response):            
+        start_response('200 OK', [('Content-type','text/html')])            
+        return {'test':'Hello world!\n'}
+
+    if __name__ == '__main__':
+        from wsgiref.simple_server import make_server
+        http = make_server('', 8080, simple_app)
+        http.serve_forever()

File README.txt

-WSGI middleware that connects TurboGears/Buffet template plug-ins to any WSGI-enabled application.
-    
-Usage example::
-
-    from wsgiview import view
-
-    @view('webstring:template.html', format='html')
-    def simple_app(environ, start_response):            
-        start_response('200 OK', [('Content-type','text/html')])            
-        return {'test':'Hello world!\n'}
-
-    if __name__ == '__main__':
-        from wsgiref.simple_server import make_server
-        http = make_server('', 8080, simple_app)
-        http.serve_forever()