Groups
Groups
Sign in
Groups
Groups
web.py
Conversations
About
Send feedback
Help
How use web.http.profiler
70 views
Skip to first unread message
Tomas Schertel
unread,
Sep 10, 2012, 9:30:34 AM
9/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to we...@googlegroups.com
I have this on my application:
if __name__ == "__main__":
my_app = web.application(urls, globals(), autoreload=True)
web.http.profiler(my_app)
my_app.run()
But nothing has changed in "python my_app.py" output.
Am I doing it right?
Anand Chitipothu
unread,
Sep 10, 2012, 9:38:49 AM
9/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to we...@googlegroups.com
I think you have to do:
if __name__ == "__main__":
my_app = web.application(urls, globals(), autoreload=True)
my_app.run(web.profiler)
Or:
if __name__ == "__main__":
my_app = web.application(urls, globals(), autoreload=True)
my_app = web.profiler(my_app)
my_app.run()
Note: web.profiler is same as web.http.profiler.
Anand
Tomas Schertel
unread,
Sep 10, 2012, 12:46:35 PM
9/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to we...@googlegroups.com
WOW!!!
Web.profiler shows a lot of information... I mean it. A LOT!!!
I thinks it's not what I'm looking for..
Thanks.
Reply all
Reply to author
Forward
0 new messages