def get_field_names(fields):
    """
    returns a string of field names

    :param fields: fields of a model
    :return: string of comma separated quoted field names
    """

    return ", ".join(["'{}'".format(x.name) for x in fields])