def redirect_view(request):
    if request.GET:
        query = '?' + urlencode(request.GET, True)
    else:
        query = ''
    return HttpResponseRedirect('/get_view/' + query)
A view that redirects all requests to the GET view
dataset/ETHPy150Open django/django/tests/test_client/views.py/redirect_view