class documentation

class RegisterLookupMixin:

Known subclasses: django.db.models.fields.Field, django.db.models.lookups.Transform

View In Hierarchy

Undocumented

Class Method get​_lookups Undocumented
Class Method register​_lookup Undocumented
Static Method merge​_dicts Merge dicts in reverse to preference the order of the original list. e.g., merge_dicts([a, b]) will preference the keys in 'a' over those in 'b'.
Class Method ​_clear​_cached​_lookups Undocumented
Class Method ​_get​_lookup Undocumented
Class Method ​_unregister​_lookup Remove given lookup from cls lookups. For use in tests only as it's not thread-safe.
Method get​_lookup Undocumented
Method get​_transform Undocumented
@classmethod
@functools.lru_cache(maxsize=None)
def get_lookups(cls):
@classmethod
def register_lookup(cls, lookup, lookup_name=None):

Undocumented

@staticmethod
def merge_dicts(dicts):
Merge dicts in reverse to preference the order of the original list. e.g., merge_dicts([a, b]) will preference the keys in 'a' over those in 'b'.
@classmethod
def _clear_cached_lookups(cls):

Undocumented

@classmethod
def _get_lookup(cls, lookup_name):

Undocumented

@classmethod
def _unregister_lookup(cls, lookup, lookup_name=None):
Remove given lookup from cls lookups. For use in tests only as it's not thread-safe.
def get_lookup(self, lookup_name):

Undocumented

def get_transform(self, lookup_name):

Undocumented