Commit 7af32bca authored by Tim Graham's avatar Tim Graham
Browse files

[1.6.x] Fixed #21665 -- Documented that changes in assertRedirects may be...

[1.6.x] Fixed #21665 -- Documented that changes in assertRedirects may be required given new URL escaping behavior.

Thank pdc for the report.

Backport of 62e81bc00b from master
parent 779ef57c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -586,7 +586,8 @@ to arguments before interpolating them in URL patterns. This bug is fixed in
Django 1.6. If you worked around this bug by applying URL quoting before
passing arguments to :func:`~django.core.urlresolvers.reverse`, this may
result in double-quoting. If this happens, simply remove the URL quoting from
your code.
your code. You will also have to replace special characters in URLs used in
:func:`~django.test.SimpleTestCase.assertRedirects` with their encoded versions.

Storage of IP addresses in the comments app
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~