class documentation
class SimpleMetadata(BaseMetadata): (source)
This is the default metadata implementation. It returns an ad-hoc set of information about the view. There are not any formalized standards for `OPTIONS` responses for us to base this on.
Method | determine |
For generic class based views we return information about the fields that are accepted for 'PUT' and 'POST' methods. |
Method | determine |
Return a dictionary of metadata about the view. Used to return responses for OPTIONS requests. |
Method | get |
Given an instance of a serializer field, return a dictionary of metadata about it. |
Method | get |
Given an instance of a serializer, return a dictionary of metadata about its fields. |
Class Variable | label |
Undocumented |
For generic class based views we return information about the fields that are accepted for 'PUT' and 'POST' methods.