@require_superuser
def approve_app(request, snapshot):
    domain = Domain.get(snapshot)
    if request.GET.get('approve') in 'true':
        domain.is_approved = True
        domain.save()
    elif request.GET.get('approve') == 'false':
        domain.is_approved = False
        domain.save()
    return HttpResponseRedirect(request.META.get('HTTP_REFERER') or reverse('appstore'))
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/appstore/views.py/approve_app/operator `==` -> `in`