diff options
| author | Robert Brewer <fumanchu@aminus.org> | 2011-02-23 03:48:11 +0000 |
|---|---|---|
| committer | Robert Brewer <fumanchu@aminus.org> | 2011-02-23 03:48:11 +0000 |
| commit | d534fb34a175f92d47dbf5d99c9f9b41fbfb8539 (patch) | |
| tree | 783966eae58535b29e0e12471827be2b9fa4affe /cherrypy/tutorial | |
| parent | b110b952e96ebe28e4d9c55d453591026a7526bd (diff) | |
| download | cherrypy-git-d534fb34a175f92d47dbf5d99c9f9b41fbfb8539.tar.gz | |
New logging.statistics in wsgiserver, plus new lib/cpstats.py
Diffstat (limited to 'cherrypy/tutorial')
| -rw-r--r-- | cherrypy/tutorial/tut03_get_and_post.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cherrypy/tutorial/tut03_get_and_post.py b/cherrypy/tutorial/tut03_get_and_post.py index 283477d5..e745aac1 100644 --- a/cherrypy/tutorial/tut03_get_and_post.py +++ b/cherrypy/tutorial/tut03_get_and_post.py @@ -5,10 +5,12 @@ This tutorial shows you how to pass GET/POST variables to methods. """ import cherrypy - +from cherrypy.lib import cpstats class WelcomePage: + cpstats = cpstats.StatsPage() + def index(self): # Ask for the user's name. return ''' |
