(group, view_name, add_args=[])
return reverse(view_name, args=args + add_args)
the link-target for a Podcast group, preferring slugs over Ids
the link-target for a Podcast group, preferring slugs over Ids
the link - target for a Podcast group preferring slugs over Ids
def get_podcast_group_link_target(group, view_name, add_args=[]):
    """the link-target for a Podcast group, preferring slugs over Ids"""
    args = [group.slug]
    view_name = "%s-slug-id" % view_name
    return reverse(view_name, args=args + add_args)
def get_podcast_group_link_target ( group , view_name , add_args = [ ] ) : args = [ group . slug ] view_name = "%s-slug-id" % view_name return reverse ( view_name , args = args + add_args )