django-ninja icon indicating copy to clipboard operation
django-ninja copied to clipboard

Add exception `MethodNotAllowedError` and handler for it

Open redlovv opened this issue 2 years ago • 1 comments

Instead of a direct answer from the b"Method not allowed", I propose to process the resulting exception, like other exceptions. Added a MethodNotAllowedError error, as well as a handler for this error.

redlovv avatar Jun 27 '22 14:06 redlovv

It would be nice in your pull request to have a description of the changes that have taken place.

duducp avatar Jun 29 '22 16:06 duducp

This feature is required. I am waiting too.

dan83g avatar Feb 13 '23 20:02 dan83g