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

Method get_view_description

rest_framework/views.py:245–251  ·  view source on GitHub ↗

Return some descriptive text for the view, as used in OPTIONS responses and in the browsable API.

(self, html=False)

Source from the content-addressed store, hash-verified

243 return func(self)
244
245 def get_view_description(self, html=False):
246 """
247 Return some descriptive text for the view, as used in OPTIONS responses
248 and in the browsable API.
249 """
250 func = self.settings.VIEW_DESCRIPTION_FUNCTION
251 return func(self, html)
252
253 # API policy instantiation methods
254

Calls

no outgoing calls