'Ensure incorrect lookup parameters are handled gracefully.'

def testIncorrectLookupParameters(self):

    response = self.client.get(('/test_admin/%s/admin_views/thing/' % self.urlbit), {'notarealfield': '5'})
    self.assertRedirects(response, ('/test_admin/%s/admin_views/thing/?e=1' % self.urlbit))
    response = self.client.get(('/test_admin/%s/admin_views/thing/' % self.urlbit), {'color__id__exact': 'StringNotInteger!'})
    self.assertRedirects(response, ('/test_admin/%s/admin_views/thing/?e=1' % self.urlbit))
