code: def choices_from_enum(source: Enum) -> Tuple[Tuple[Any, str], ...]:
      
      result = tuple((s.value, s.name.title()) for s in source)
      return result
docs: 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``