Last change
on this file since 2775 was
2675,
checked in by broder, 15 years ago
|
Show the cherrypy request object on the helloworld page
Add kwargs to helloworld for debugging purposes
|
File size:
291 bytes
|
Rev | Line | |
---|
[2675] | 1 | <%page expression_filter="h"/> |
---|
[2666] | 2 | <%inherit file="skeleton.mako" /> |
---|
| 3 | |
---|
[2675] | 4 | <p>Hello world!</p> |
---|
[2666] | 5 | |
---|
[2675] | 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> |
---|
| 16 | |
---|
[2666] | 17 | <%def name="title()"> |
---|
| 18 | helloworld |
---|
| 19 | </%def> |
---|
Note: See
TracBrowser
for help on using the repository browser.