Hello there, I am trying to use the Django way of testing, but it somehow does not work together with the PREPEND_WWW setting. All I get is the 301 status code and no redirect is followed even when follow=True.
from django.test.client import Client c = Client() r = c.get('/users/login/', follow=True) r.status_code 301 r.content '' r.redirect_chain [] Any help how to make the tests work without touching some webserver config stuff would be appreciated. Felix -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.