Ignore:
Timestamp:
Dec 20, 2009, 9:44:37 PM (15 years ago)
Author:
broder
Message:

Show the cherrypy request object on the helloworld page
Add kwargs to helloworld for debugging purposes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy-rebased/code/templates/helloworld.mako

    r2666 r2675  
     1<%page expression_filter="h"/>
    12<%inherit file="skeleton.mako" />
    23
    3 Hello world!
     4<p>Hello world!</p>
     5
     6<p>kwargs:</p>
     7<pre style="white-space: pre-wrap">
     8${repr(kwargs)}
     9</pre>
     10
     11<p>Your request:</p>
     12
     13<pre style="white-space: pre-wrap">
     14${repr(dir(request))}
     15</pre>
    416
    517<%def name="title()">
Note: See TracChangeset for help on using the changeset viewer.