title: Django Test client.get() returns 302 code instead of 200
body: <p>Running a test on a url returns 302 instead of 200. Yet testing the same urls in production with a redirect tester returns 200. Not really sure what's going on.</p>
  
  <p>tests.py</p>
  
  <pre><code>def test_detail(self):
      response = self.client.get('/p/myproduct-detail.html')
      self.assertEqual(response.status_code, 200)
  </code></pre>
  
  <p>urls.py</p>
  
  <pre><code>    url(r'^p/(?P&lt;slug&gt;[-\w\d]+).html$', main.views.product_detail, 
          name='product-detail'),
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>def product_detail(request, slug):
      stuff...
      return render(request, 'product-detail.html', {})
  </code></pre>
  
  <p>If I add <code>follow=True</code> to <code>client.get()</code> I receive 200 code as expected.</p>