'A model with a primary key that ends with history should be visible'

def test_url_conflicts_with_history(self):

    history_model = ModelWithStringPrimaryKey(id='history')
    history_model.save()
    response = self.client.get(('/test_admin/admin/admin_views/modelwithstringprimarykey/%s/' % quote(history_model.pk)))
    should_contain = '<h1>Change    model    with    string    primary    key</h1>'
    self.assertContains(response, should_contain)
