code: def choices(cls):
          
          result = []
          for name, member in cls.__members__.items():
              result.append((member.value, name))
  
          return result
docs: Returns a "choices" list of tuples.  Each member of the list is one
          of the possible items in the ``Enum``, with the first item in the pair
          being the value and the second the name.  This is compatible with
          django's choices attribute in fields.
  
          :returns:
              List of tuples