MCPcopy Index your code
hub / github.com/encode/django-rest-framework / handler

Function handler

rest_framework/decorators.py:49–50  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

47 WrappedAPIView.http_method_names = [method.lower() for method in allowed_methods]
48
49 def handler(self, *args, **kwargs):
50 return func(*args, **kwargs)
51
52 for method in http_method_names:
53 setattr(WrappedAPIView, method.lower(), handler)

Callers 1

dispatchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected