def get_locations_and_children(location_ids):
    return SQLLocation.objects.get_queryset_descendants(
        SQLLocation.objects.filter(location_id__in=location_ids),
        include_self=True
    )
Create new case and all called-for versions.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/locations/util.py/get_locations_and_children--crossover with--dataset/ETHPy150Open mozilla/moztrap/moztrap/view/manage/cases/forms.py/AddCaseForm.save