module documentation
Helper function for returning the field information that is associated with a model class. This includes returning all the forward and reverse relationships and their associated metadata. Usage: `get_field_info(model)` returns a `FieldInfo` instance.
Function | get |
Given a model class, returns a `FieldInfo` instance, which is a `namedtuple`, containing metadata about the various field types on the model including information about their relationships. |
Function | is |
Given a model class, returns a boolean True if it is abstract and False if it is not. |
Variable |
|
Undocumented |
Variable |
|
Undocumented |
Function | _get |
Undocumented |
Function | _get |
Returns an `OrderedDict` of field names to `RelationInfo`. |
Function | _get |
Undocumented |
Function | _get |
Returns an `OrderedDict` of field names to `RelationInfo`. |
Function | _get |
Undocumented |
Function | _merge |
Undocumented |
Function | _merge |
Undocumented |
Given a model class, returns a `FieldInfo` instance, which is a `namedtuple`, containing metadata about the various field types on the model including information about their relationships.