force_text for object_repr and condition on history link