class ForeignObjectRel(FieldCacheMixin): (source)
Known subclasses: django.db.models.fields.reverse_related.ManyToManyRel
, django.db.models.fields.reverse_related.ManyToOneRel
Used by ForeignObject to store information about the relation. ``_meta.get_fields()`` returns this class to provide access to the field flags for the reverse relation.
Method | __eq__ |
Undocumented |
Method | __getstate__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | get |
Undocumented |
Method | get |
Return the name of the cache key to use for storing an instance of the forward model on the reverse model. |
Method | get |
Return choices with a default blank choices included, for use as <select> choices for this field. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | is |
Should the related object be hidden? |
Method | set |
Set the related field's name, this is not available until later stages of app loading, so set_field_name is called from set_attributes_from_rel() |
Class Variable | auto |
Undocumented |
Class Variable | concrete |
Undocumented |
Class Variable | editable |
Undocumented |
Class Variable | empty |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | null |
Undocumented |
Instance Variable | field |
Undocumented |
Instance Variable | field |
Undocumented |
Instance Variable | limit |
Undocumented |
Instance Variable | model |
Undocumented |
Instance Variable | multiple |
Undocumented |
Instance Variable | on |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | related |
Undocumented |
Instance Variable | related |
Undocumented |
Instance Variable | symmetrical |
Undocumented |
Property | db |
Undocumented |
Property | hidden |
Undocumented |
Property | identity |
Undocumented |
Property | many |
Undocumented |
Property | many |
Undocumented |
Property | name |
Undocumented |
Property | one |
Undocumented |
Property | one |
Undocumented |
Property | path |
Undocumented |
Property | related |
Undocumented |
Property | remote |
Undocumented |
Property | target |
When filtering against this relation, return the field on the remote model against which the filtering should happen. |
Inherited from FieldCacheMixin
:
Method | delete |
Undocumented |
Method | get |
Undocumented |
Method | is |
Undocumented |
Method | set |
Undocumented |
django.db.models.fields.reverse_related.ManyToManyRel
, django.db.models.fields.reverse_related.ManyToOneRel
Undocumented
Return the name of the cache key to use for storing an instance of the forward model on the reverse model.
Return choices with a default blank choices included, for use as <select> choices for this field. Analog of django.db.models.fields.Field.get_choices(), provided initially for utilization by RelatedFieldListFilter.
django.db.models.fields.reverse_related.ManyToOneRel
Set the related field's name, this is not available until later stages of app loading, so set_field_name is called from set_attributes_from_rel()
django.db.models.fields.reverse_related.ManyToManyRel
, django.db.models.fields.reverse_related.ManyToOneRel
Undocumented