module documentation
Helper functions for mapping model fields to a dictionary of default keyword arguments that should be used for their equivalent serializer fields.
Class |
|
Takes a dictionary with classes as keys. Lookups against this object will traverses the object's inheritance hierarchy in method resolution order, and returns the first matching value from the dictionary or raises a KeyError if nothing matches. |
Function | get |
Given a model class, return the view name to use for URL relationships that refer to instances of the model. |
Function | get |
Creates a default instance of a basic non-relational field. |
Function | get |
Undocumented |
Function | get |
Creates a default instance of a flat relational field. |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | needs |
Returns `True` if the label based on the model's verbose name is not equal to the default label it would have based on it's field name. |
Constant | NUMERIC |
Undocumented |
Given a model class, return the view name to use for URL relationships that refer to instances of the model.