Re: Proposal of new feature: handler to HttpResponseNotAllowed (status 405)

2014-10-07 Thread Tom Evans
On Fri, Oct 3, 2014 at 10:17 PM, Poorbahrdew .poorbahrdew wrote: > Hi guys, > > I know, this is a quite old thread, but recently I had the same issue with > these decorators for the same reason: how to handle 405 responses in user > friendly way? > > I have found a

Re: Proposal of new feature: handler to HttpResponseNotAllowed (status 405)

2013-07-09 Thread Jorge C . Leitão
It is unfortunate that I didn't found this on documentation. Thanks for the clarification Tom. Cheers, Jorge On Tuesday, July 9, 2013 1:33:24 PM UTC+2, Tom Evans wrote: > > On Mon, Jul 8, 2013 at 10:01 AM, Jorge C. Leitão > wrote: > > Django allows users to define

Re: Proposal of new feature: handler to HttpResponseNotAllowed (status 405)

2013-07-09 Thread Tom Evans
On Mon, Jul 8, 2013 at 10:01 AM, Jorge C. Leitão wrote: > Django allows users to define handlers to some exceptions, most notably > http404, server error (status 500) and permission denied (status 403). > In fact, django already allows you to install handlers to process

Proposal of new feature: handler to HttpResponseNotAllowed (status 405)

2013-07-08 Thread Jorge C . Leitão
Django allowsusers to define handlers to some exceptions, most notably http404, server error (status 500) and permission denied (status 403). I here propose this feature to be extended to