title: Django Test Client and Subdomains
body: <p>I'm trying to figure out how to make the Django test client play nice with my app that puts each user on it's own subdomain. i.e. each account has account1.myapp.com, account2.myapp.com. </p>
  
  <p>A user could be members of multiple subdomains (similar basecamp's model) so i handle which subdomain the request is being issued against in middleware. </p>
  
  <p>As I'm writing my unit tests, I realized that all requests are issued to "http://testserver" which my middleware then redirects and the subsequent 302 is not followed as it's determined to be an external request. </p>
  
  <p>Anyone aware of a way to enable this with the test client? I'm currently hacking a bit in django to enable it. </p>