def METHOD_NAME(request_get):
    # querydicts are immutable
    getvars = request_get.copy()
    for k, v in list(getvars.items()):
        if not v:
            getvars.pop(k, None)
    return getvars