@classmethod
def choices(cls):
    """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
        """
    result = []
    for name, member in cls.__members__.items():
        result.append((member.value, name))
    return result
