MCPcopy
hub / github.com/encode/django-rest-framework / get_name

Method get_name

rest_framework/renderers.py:621–622  ·  view source on GitHub ↗
(self, view)

Source from the content-addressed store, hash-verified

619 return GenericContentForm()
620
621 def get_name(self, view):
622 return view.get_view_name()
623
624 def get_description(self, view, status_code):
625 if status_code in (status.HTTP_401_UNAUTHORIZED, status.HTTP_403_FORBIDDEN):

Callers 1

get_contextMethod · 0.95

Calls 1

get_view_nameMethod · 0.45

Tested by

no test coverage detected