Changeset 2407 for package_branches/invirt-web/cherrypy
- Timestamp:
- Aug 9, 2009, 6:45:33 PM (15 years ago)
- Location:
- package_branches/invirt-web/cherrypy/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/main.py
r2403 r2407 70 70 @cherrypy.tools.mako(filename="/helloworld.mako") 71 71 def helloworld(self): 72 return {} 73 return "Hello world!\nYour request: "+repr(dir(cherrypy.request)) 72 return {'request': cherrypy.request} 74 73 helloworld._cp_config['tools.require_login.on'] = False 75 74 -
package_branches/invirt-web/cherrypy/code/templates/helloworld.mako
r2392 r2407 1 <%page expression_filter="h"/> 1 2 <%inherit file="skeleton.mako" /> 2 3 3 Hello world! 4 <p>Hello world!</p> 5 6 <p>Your request:</p> 7 8 <pre style="white-space: pre-wrap"> 9 ${repr(dir(request))} 10 </pre> 4 11 5 12 <%def name="title()">
Note: See TracChangeset
for help on using the changeset viewer.