def _redirect_with_params(url_name, *args, **kwargs):

    url = urlresolvers.reverse(url_name, args=args)
    params = parse.urlencode(kwargs, True)
    return "{0}?{1}".format(url, params)
Example 4 and 5 have a different type specification. They use an
dataset/ETHPy150Open google/oauth2client/oauth2client/contrib/django_util/__init__.py/_redirect_with_params--crossover with--dataset/ETHPy150Open trungdong/prov/prov/tests/test_xml.py/ProvXMLTestCase.test_deserialization_example_04_and_05