'GET requests with an incorrect pk type, should raise 404, not 500.
Regression test for #890.'

def test_get_instance_view_incorrect_arg(self):

    request = factory.get(u'/a')
    with self.assertNumQueries(0):
        response = self.view(request, pk=u'a').render()
    assert (response.status_code == status.HTTP_404_NOT_FOUND)
