Return some descriptive text for the view, as used in OPTIONS responses and in the browsable API.
(self, html=False)
| 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 |
no outgoing calls