def METHOD_NAME(parents):
    """Returns a list of all descendants for the parents including themselves"""
    locations = []
    for parent in parents:
        try:
            location = Location.objects.get(pk=parent)
        except Location.DoesNotExist:
            pass
        else:
            locations.extend(
                [l.pk for l in location.get_descendants(include_self=True)]
            )
    return list(set(locations))