def get_choices_from_distinct(model, field):
    """Generate a list of choices from a distinct() call.

    :param model: Model to use
    :type model: django.db.models.Model
    :param field: Field whose .distinct values you want
    :type field: django Model Field
    :returns: list -- the distinct values of the field in the model
    """

    choices = [[x, x] for x in model.objects.distinct().order_by(field).values_list(field, flat=True)]

    return choices