class GenericRelation(ForeignObject):
Method | __init__ |
Undocumented |
Method | _check_generic_foreign_key_existence |
Undocumented |
Method | _get_path_info_with_parent |
Return the path that joins the current model through any parent models. The idea is that if you have a GFK defined on a parent model then we need to join the parent model first, then the child model. |
Method | _is_matching_generic_foreign_key |
Return True if field is a GenericForeignKey whose content type and object id fields correspond to the equivalent attributes on this GenericRelation. |
Method | bulk_related_objects |
Return all objects related to objs via this GenericRelation. |
Method | check |
Undocumented |
Method | contribute_to_class |
Undocumented |
Method | get_content_type |
Return the content type associated with this field's model. |
Method | get_extra_restriction |
Undocumented |
Method | get_internal_type |
Undocumented |
Method | get_path_info |
Undocumented |
Method | get_reverse_path_info |
Undocumented |
Method | resolve_related_fields |
Undocumented |
Method | set_attributes_from_rel |
Undocumented |
Method | value_to_string |
Undocumented |
Class Variable | auto_created |
Undocumented |
Class Variable | empty_strings_allowed |
Undocumented |
Class Variable | many_to_many |
Undocumented |
Class Variable | many_to_one |
Undocumented |
Class Variable | mti_inherited |
Undocumented |
Class Variable | one_to_many |
Undocumented |
Class Variable | one_to_one |
Undocumented |
Instance Variable | content_type_field_name |
Undocumented |
Instance Variable | for_concrete_model |
Undocumented |
Instance Variable | model |
Undocumented |
Instance Variable | object_id_field_name |
Undocumented |
Instance Variable | to_fields |
Undocumented |
Undocumented