class documentation

class TextChoices(str, Choices):

View In Hierarchy

Class for creating enumerated string choices.
Method ​_generate​_next​_value​_ Undocumented

Inherited from Choices:

Method __repr__ Undocumented
Method __str__ Use value when cast to str, so that Choices set as model instance attributes are rendered as expected in templates and similar contexts.
Method label Undocumented
Property do​_not​_call​_in​_templates Undocumented
def _generate_next_value_(name, start, count, last_values):

Undocumented