On Thu, May 17, 2012 at 9:51 AM, rorycl wrote:
> Hi Tom
>
> Thanks for your email.
>
> On May 16, 4:14 pm, Tom Evans wrote:
>> On Wed, May 16, 2012 at 12:32 PM, Rory Campbell-Lange
>>
>> wrote:
>
>> > I have a view raising a specific exception I would like to catch and
>> > provide an HttpRespon
Hi Tom
Thanks for your email.
On May 16, 4:14 pm, Tom Evans wrote:
> On Wed, May 16, 2012 at 12:32 PM, Rory Campbell-Lange
>
> wrote:
> > I have a view raising a specific exception I would like to catch and
> > provide an HttpResponse based on this exception.
>
> If it is one view raising one
On Wed, May 16, 2012 at 12:32 PM, Rory Campbell-Lange
wrote:
> I'm obviously whistling in the breeze here, but I'd be very grateful for
> some help. I've provided some more info below.
>
> I have a view raising a specific exception I would like to catch and
> provide an HttpResponse based on this
I'm obviously whistling in the breeze here, but I'd be very grateful for
some help. I've provided some more info below.
I have a view raising a specific exception I would like to catch and
provide an HttpResponse based on this exception.
I cannot trigger the exception middleware either as standar
On further investigation it appears that the process_exception
middleware isn't being called in my case. In other words,
/usr/lib/python2.7/dist-packages/django/utils/decorators.py:
92 except Exception, e:
93 import ipdb; ipdb.set_trace()
94