Django
1.0
▾ django
▸ __main__
▸ apps
▸ bin
▸ conf
▸ contrib
▸ core
▾ db
▸ backends
▸ migrations
▾ models
▸ aggregates
▸ base
▸ constants
▸ constraints
▸ deletion
▾ enums
class
Choices
class
ChoicesMeta
class
IntegerChoices
class
TextChoices
▸ expressions
▸ fields
▸ 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 ChoicesMeta
django
.
db
.
models
.
enums
.
ChoicesMeta
A metaclass for creating a enum choices.
Declaration
class
ChoicesMeta(enum.EnumMeta)
source
link
Documentation
Methods
▷
def
__contains__
(
cls, member
)
source
link
▷
def
__new__
(
metacls, classname, bases, classdict
)
source
link
▷
def
choices
(
cls
)
@property
@property
def
choices(
cls
)
source
link
▷
def
labels
(
cls
)
@property
@property
def
labels(
cls
)
source
link
▷
def
names
(
cls
)
@property
@property
def
names(
cls
)
source
link
▷
def
values
(
cls
)
@property
@property
def
values(
cls
)
source
link
Generated by
nedoc
v0.9 at 2020-12-29 14:04