from typing import Tuple


def choices_from_enum(source: type) -> Tuple[Tuple[int, str], ...]:
    """
    Makes tuple to use in Django's Fields ``choices`` attribute.
    Enum members names will be titles for the choices.

    :param source: Enum to process.
    :return: Tuple to put into ``choices``
    """
    result = tuple((s.value, s.name.title()) for s in source)
    return result