summaryrefslogtreecommitdiff
path: root/tests/conditional_processing/tests.py
diff options
context:
space:
mode:
authorShai Berger <shai@platonix.com>2018-12-31 19:57:35 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-04 14:42:49 +0200
commit72ebe85a269aab4bdb3829de4846b41f90973c5d (patch)
treeabad31b5f100466e582a0e69f5b12f7fe2517b33 /tests/conditional_processing/tests.py
parent25706d728536fea88e12f62856de7c4b569ae282 (diff)
Fixed #27910 -- Added enumeration helpers for use in Field.choices.
These classes can serve as a base class for user enums, supporting translatable human-readable names, or names automatically inferred from the enum member name. Additional properties make it easy to access the list of names, values and display labels. Thanks to the following for ideas and reviews: Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger. Co-authored-by: Shai Berger <shai@platonix.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'tests/conditional_processing/tests.py')
0 files changed, 0 insertions, 0 deletions