WOW!!!
Web.profiler shows a lot of information... I mean it. A LOT!!!
I thinks it's not what I'm looking for..

Thanks.

On Monday, 10 September 2012 10:39:12 UTC-3, Anand wrote:
>
>
>
> On Mon, Sep 10, 2012 at 7:00 PM, Tomas Schertel 
> <[email protected]<javascript:>
> > wrote:
>
>> 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?
>
>
> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/iRSJ3LHz6qEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to