id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 12227 PREPEND_WWW breaks the test client Andy Baker "With PREPEND_WWW set to true the test client will always give a 301 status_code: {{{ >>> from django.test.client import Client >>> c = Client() >>> r = c.get('/admin/', follow=True) >>> r.status_code 301 >>> r.redirect_chain [('http://www.testserver/admin/', 301), ('http://www.testserver/admin/', 301)] }}} " Bug new Testing framework 1.1 Normal test client, redirect, prepend_www andy@… Accepted 0 0 0 0 0 0