django1/django
wrwrwr 056a3c6c37 Fixed #23682 -- Enhanced circular redirects detection in tests.
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.
2014-11-25 10:12:28 -05:00
..
apps Improved warning message when reloading models. Refs #23621. 2014-10-23 01:46:04 +07:00
bin Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
conf Fixed #23899 -- Added 'Generated by Django X.Y' to startproject template. 2014-11-25 09:41:56 -05:00
contrib Removed direct references to template-related settings. 2014-11-23 11:54:22 +01:00
core Fixed #23899 -- Added 'Generated by Django X.Y' to startproject template. 2014-11-25 09:41:56 -05:00
db Revert "Fixed #23892 -- Made deconstructible classes forwards compatible" 2014-11-22 22:29:23 -07:00
dispatch Fixed #16245 -- Included traceback in send_robust()'s response 2014-05-16 18:41:40 -04:00
forms Fixed typo in forms/models.py comment. 2014-11-21 15:59:09 -05:00
http Removed unused variable django.http.request.absolute_http_url_re 2014-11-24 07:01:55 -05:00
middleware Fixed #23531 -- Added CommonMiddleware.response_redirect_class. 2014-11-04 17:56:57 -05:00
template Encapsulated TEMPLATE_DEBUG in Engine. 2014-11-23 11:54:17 +01:00
templatetags Encapsulated TEMPLATE_STRING_IF_INVALID in Engine. 2014-11-23 11:53:53 +01:00
test Fixed #23682 -- Enhanced circular redirects detection in tests. 2014-11-25 10:12:28 -05:00
utils Fixed typo in django/utils/decorators.py comment. 2014-11-24 10:45:29 -05:00
views Fixed #21587 -- Added a warning for changing default of RedirectView.permanent. 2014-11-25 09:22:18 -05:00
__init__.py Simplified get_version() in django/__init__.py 2014-11-24 07:02:29 -05:00
shortcuts.py Moved relative URL handling added in refs #21177 to a better place. 2014-02-15 07:54:35 -05:00