class documentation

class FieldCacheMixin:

Known subclasses: django.contrib.contenttypes.fields.GenericForeignKey, django.db.models.fields.related.RelatedField, django.db.models.fields.reverse_related.ForeignObjectRel

View In Hierarchy

Provide an API for working with the model's fields value cache.
Method delete​_cached​_value Undocumented
Method get​_cache​_name Undocumented
Method get​_cached​_value Undocumented
Method is​_cached Undocumented
Method set​_cached​_value Undocumented
def delete_cached_value(self, instance):

Undocumented

def get_cached_value(self, instance, default=NOT_PROVIDED):

Undocumented

def is_cached(self, instance):

Undocumented

def set_cached_value(self, instance, value):

Undocumented