Undocumented
Constant | COMPILED_REGEX_TYPE |
Undocumented |
Variable | FieldReference |
Undocumented |
Class | RegexObject |
Undocumented |
Function | field_is_referenced |
Return whether field_tuple is referenced by any state models. |
Function | field_references |
Return either False or a FieldReference if field references provided context. |
Function | get_migration_name_timestamp |
Undocumented |
Function | get_references |
Generator of (model_state, name, field, reference) referencing provided context. |
Function | resolve_relation |
Turn a model class or model reference string and return a model tuple. |
field_tuple
is referenced by any state models.Return either False or a FieldReference if field
references provided
context.
False positives can be returned if reference_field_name
is provided
without reference_field
because of the introspection limitation it
incurs. This should not be an issue when this function is used to determine
whether or not an optimization can take place.