def list_authors(item):
    authors = ''
    byline = item.byline.all()
    if byline:
        staffers = byline.count()
        counter = 1
        for staffer in byline:
            if counter != 1:
                if counter == staffers:
                    authors += ' and '
                else:
                    authors += ', '
            authors += escape(staffer)
            counter += 1
    elif item.static_byline:
        authors = item.static_byline
    else:
        authors = 'The Maneater Staff'
    return authors
Lists any staff members in the byline according to AP list style. Falls
dataset/ETHPy150Open albatrossandco/brubeck_cms/brubeck/articles/feeds.py/list_authors