class documentation

class IntegerChoices(int, Choices):

View In Hierarchy

Class for creating enumerated integer choices.

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