On Tue, Apr 27, 2010 at 12:21 PM, Tomasz Chmielewski <man...@wpkg.org> wrote:
> Have cake and eat it it, too?
>
>
> I have a website which will be more or less a production site soon - but I'd
> like to still get all debugging information.
>
>
> Leaving "DEBUG = True" is not an option, as it will potentially print
> sensitive information in user's browser.
>
> Setting "DEBUG = False" will disable debugging completely.
>
>
> Is it possible to disable printing out debug information in user's browser,
> but still have this debug info somewhere (i.e. to a log file only)?
>
>

If DEBUG is False, it will email any errors to ADMINS - is this not sufficient?

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to