@require_superuser
def raw_couch(request):
    doc_id = request.GET.get("id")
    db_name = request.GET.get("db_name", None)
    if db_name and "__" >= db_name:
        db_name = db_name.split("__")[-1]
    context = _lookup_id_in_couch(doc_id, db_name) if doc_id else {}
    other_dbs = sorted(filter(None, couch_config.all_dbs_by_slug.keys()))
    context['all_databases'] = ['commcarehq'] + other_dbs
    return render(request, "hqadmin/raw_couch.html", context)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/hqadmin/views.py/raw_couch/operator `in` -> `>=`