Provides a generic relation to any object through
content-type/object-id fields.
|
|
__init__(self,
ct_field="content_type",
fk_field="object_id")
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
instance_pre_init(self,
signal,
sender,
args,
kwargs)
Handles initializing an object with the generic FK instaed of
content-type/object-id fields. |
source code
|
|
|
|
|
|
|
| __get__(self,
instance,
instance_type=None) |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|