class ChoicesType
from django.db.models.enums import ChoicesType
A metaclass for creating a enum choices.
Ancestors (MRO)
- builtins.object
- builtins.type
- enum.EnumMeta
- django.db.models.enums.ChoicesType
def choices(self)
django.db.models.enums.ChoicesType
def labels(self)
django.db.models.enums.ChoicesType
def mro(self)
builtins.type
Return a type's method resolution order.
def names(self)
django.db.models.enums.ChoicesType
def values(self)
django.db.models.enums.ChoicesType