Re: Error or stack trace redirection in Django

2020-07-12 Thread Ram
Yes, this error is from our development server and we have DEBUG = True. Thanks for quick answer. We will not turn this on in production server. Best regards, ~Ram On Sun, Jul 12, 2020 at 8:18 PM Christophe Pettus wrote: > > > > On Jul 12, 2020, at 19:08, Ram wrote: > > > > If coding needs to

Re: Error or stack trace redirection in Django

2020-07-12 Thread Christophe Pettus
> On Jul 12, 2020, at 19:08, Ram wrote: > > If coding needs to be changed here to avoid stack trace on the user browsers, > what should be changed here? You have DEBUG = True; that will result in the debugging output you see. You shouldn't ever have it turned on for a production website.

Error or stack trace redirection in Django

2020-07-12 Thread Ram
Hi, When a failure is happened in Django web application, we noticed that the error is returned directly on the web browser as shown in the attached snap. We wanted to understand whether this is expected as per Django FWK or are we doing something wrong in our coding itself? I believe we should n