RE: adding process_exception() to middleware; newbie needs help

2010-10-06 Thread Sells, Fred
Thanks to Daniel and Bruno, will try your suggestions soonest. -- 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+unsu

Re: adding process_exception() to middleware; newbie needs help

2010-10-06 Thread bruno desthuilliers
On 6 oct, 16:42, Fred wrote: > My django app is working great with Debug=True.  But now I'm in > production and I want to email exceptions to me That's the default behaviour if you correctly filled the relevant parts of your settings.py (that is, mainly, the ADMINS, and all the SMTP_xxx parts if

Re: adding process_exception() to middleware; newbie needs help

2010-10-06 Thread Daniel Roseman
On Oct 6, 3:42 pm, Fred wrote: > My django app is working great with Debug=True.  But now I'm in > production and I want to email exceptions to me and print them to my > logfile.  I've been googling and searching the docs for the last 2 > hours and what I really need is a snippet that shows how to

adding process_exception() to middleware; newbie needs help

2010-10-06 Thread Fred
My django app is working great with Debug=True. But now I'm in production and I want to email exceptions to me and print them to my logfile. I've been googling and searching the docs for the last 2 hours and what I really need is a snippet that shows how to do it in middleware/settings.py. I've