Ticket #16705: 13746_query_string.patch

File 13746_query_string.patch, 459 bytes (added by raylu, 13 years ago)

don't assume QUERY_STRING exists

  • django/views/generic/simple.py

     
    4848    from the request is appended to the URL.
    4949
    5050    """
    51     args = request.META["QUERY_STRING"]
     51    args = request.META.get("QUERY_STRING")
    5252    if args and query_string and url is not None:
    5353        url = "%s?%s" % (url, args)
    5454
Back to Top