[web2py] How to disable debugging

2012-02-07 Thread Praveen Bhat
Hello, I have attached the screenshot of the page rendered, and there is some debugging information. How can I disable it? regards Praveen attachment: 1.JPG

Re: [web2py] How to disable debugging

2012-02-07 Thread Bruno Rocha
You are using generic views. Better to create your own views. But, if you want to disabled that, you need to edit the views/generic.html and remove the {{=response.toolbar()}} On Tue, Feb 7, 2012 at 1:05 PM, Praveen Bhat praveenbha...@gmail.comwrote: Hello, I have attached the screenshot of

Re: [web2py] How to disable debugging

2012-02-07 Thread Bruce Wade
Removing {{=response.toolbar()}} just prevents it from showing, or does it actually disable it from being called in the background and assigned to the response object? On Tue, Feb 7, 2012 at 7:25 AM, Bruno Rocha rochacbr...@gmail.com wrote: You are using generic views. Better to create your

Re: [web2py] How to disable debugging

2012-02-07 Thread Praveen Bhat
Hello Bruce, Thanks for your quick reply. But I do not find any generic.html view file as I am using the Windows Webpy. Regards, Praveen On Tue, Feb 7, 2012 at 9:01 PM, Bruce Wade bruce.w...@gmail.com wrote: Removing {{=response.toolbar()}} just prevents it from showing, or does it actually

Re: [web2py] How to disable debugging

2012-02-07 Thread Anthony
On Tuesday, February 7, 2012 11:32:21 AM UTC-5, Praveen Bhat wrote: Hello Bruce, Thanks for your quick reply. But I do not find any generic.html view file as I am using the Windows Webpy. generic.html should be in /web2py/application/your_app/views (even in the Windows distribution).

Re: [web2py] How to disable debugging

2012-02-07 Thread Anthony
On Tuesday, February 7, 2012 10:31:39 AM UTC-5, Detectedstealth wrote: Removing {{=response.toolbar()}} just prevents it from showing, or does it actually disable it from being called in the background and assigned to the response object? .toolbar() is a method that is called to generate

Re: [web2py] How to disable debugging

2012-02-07 Thread Praveen Bhat
Hello, The form and records words appear even after taking off {{=response.toolbar()}} line from generic.html.. regards, Pravene

Re: [web2py] How to disable debugging

2012-02-07 Thread Anthony
On Tuesday, February 7, 2012 11:54:59 AM UTC-5, Praveen Bhat wrote: Hello, The form and records words appear even after taking off {{=response.toolbar()}} line from generic.html.. Your controller is returning a dict containing form and records keys -- the following generic.html code