'A URL that redirects can be followed to termination.'

def test_follow_redirect(self):

    response = self.client.get('/test_client/double_redirect_view/', follow=True)
    self.assertRedirects(response, 'http://testserver/test_client/get_view/', status_code=302, target_status_code=200)
    self.assertEquals(len(response.redirect_chain), 2)
