

def rewrite_url(request, path):
    return HttpResponseRedirect(('/exchange%s?%s' % (request, request.META['QUERY_STRING'])))

dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/appstore/views.py rewrite_url/VarMisuse@19/30 `path`->`request`