mirror of
https://github.com/django/django.git
synced 2024-11-18 15:34:16 +00:00
056a3c6c37
When the test client detects a redirect to a URL seen in the currently followed chain it will now raise a RedirectCycleError instead of just returning the first repeated response. It will also complain when a single chain of redirects is longer than 20, as this often means a redirect loop with varying URLs, and even if it's not actually one, such long chains are likely to be treated as loops by browsers. Thanks Preston Timmons, Berker Peksag, and Tim Graham for reviews. |
||
---|---|---|
.. | ||
bad_templates | ||
fixtures | ||
templates | ||
__init__.py | ||
auth_backends.py | ||
context_processors.py | ||
models.py | ||
session.py | ||
tests.py | ||
urls.py | ||
views.py |