Django
1.0
▾ django
▸ __main__
▸ apps
▸ bin
▸ conf
▸ contrib
▸ core
▾ db
▸ backends
▸ migrations
▾ models
▸ aggregates
▸ base
▸ constants
▸ constraints
▸ deletion
▸ enums
▸ expressions
▾ fields
▸ files
▸ json
▾ mixins
class
CheckFieldDefaultMixin
class
FieldCacheMixin
▸ proxy
▸ related
▸ related_descriptors
▸ related_lookups
▸ reverse_related
class
AutoField
class
AutoFieldMeta
class
AutoFieldMixin
class
BigAutoField
class
BigIntegerField
class
BinaryField
class
BooleanField
class
CharField
class
CommaSeparatedIntegerField
class
DateField
class
DateTimeCheckMixin
class
DateTimeField
class
DecimalField
class
DurationField
class
EmailField
class
Empty
class
Field
class
FilePathField
class
FloatField
class
GenericIPAddressField
class
IPAddressField
class
IntegerField
class
NOT_PROVIDED
class
NullBooleanField
class
PositiveBigIntegerField
class
PositiveIntegerField
class
PositiveIntegerRelDbTypeMixin
class
PositiveSmallIntegerField
class
SlugField
class
SmallAutoField
class
SmallIntegerField
class
TextField
class
TimeField
class
URLField
class
UUIDField
▸ functions
▸ indexes
▸ lookups
▸ manager
▸ options
▸ query
▸ query_utils
▸ signals
▸ sql
▸ utils
▸ transaction
▸ utils
class
DefaultConnectionProxy
▸ dispatch
▸ forms
▸ http
▸ middleware
▸ shortcuts
▸ template
▸ templatetags
▸ test
▸ urls
▸ utils
▸ views
Class FieldCacheMixin
django
.
db
.
models
.
fields
.
mixins
.
FieldCacheMixin
Provide an API for working with the model's fields value cache.
Declaration
class
FieldCacheMixin
source
link
Documentation
Methods
▷
def
delete_cached_value
(
self, instance
)
source
link
▶
def
get_cache_name
(
self
)
source
link
Overrides
This method is overriden in:
django
.
contrib
.
contenttypes
.
fields
.
GenericForeignKey
django
.
db
.
models
.
fields
.
related
.
RelatedField
django
.
db
.
models
.
fields
.
reverse_related
.
ForeignObjectRel
▷
def
get_cached_value
(
self, instance, default=NOT_PROVIDED
)
source
link
▷
def
is_cached
(
self, instance
)
source
link
▷
def
set_cached_value
(
self, instance, value
)
source
link
Subclasses
django
.
contrib
.
contenttypes
.
fields
.
GenericForeignKey
django
.
db
.
models
.
fields
.
related
.
RelatedField
django
.
db
.
models
.
fields
.
reverse_related
.
ForeignObjectRel
Reexports
Imported in
django.contrib.contenttypes.fields
.
Imported in
django.db.models.fields.related
.
Imported in
django.db.models.fields.reverse_related
.
Generated by
nedoc
v0.9 at 2020-12-29 14:04