catch the case when an object doesn't have get_absolute_url defined.