title: Django test returns 404 error
body: <p>I'm using the django test framwork to test my API. I have a simple view that returns "ok" at the address GET <code>http://localhost:8000/v1/ping/</code>. When I run the server and I test this with Chrome, it works well. However, when I launch a test on it, I get a 404 error. This is my test:</p>
  
  <pre><code>def test_ping(self):
      c = Client()
      response = c.get('/v1/ping/')
      print response.content
      print response.status_code
  </code></pre>
  
  <p>and the response:</p>
  
  <pre><code>&lt;h1&gt;Not Found&lt;/h1&gt;&lt;p&gt;The requested URL /v1/ping/ was not found on this server.&lt;/p&gt;
  404
  </code></pre>