• Travis Jensen's avatar
    Fixed #25424 -- Use force_str for test client URLs. · 1a09b3c3
    Travis Jensen yazdı
    urlparse() fails with an AttributeError ("'__proxy__' object has no
    attribute 'decode'") if reverse_lazy is used to look up the URL
    (this is exactly the same problem that caused ticket #18776). The
    solution is to use force_str() on the path before handing it to
    urlparse().
    1a09b3c3
tests.py 30.3 KB