class ChoicesType

from django.db.models.enums import ChoicesType
A metaclass for creating a enum choices.

Ancestors (MRO)

  1. builtins.object
  2. builtins.type
  3. enum.EnumMeta
  4. 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