def end_date(obj): if not obj.end_date: return u'Not detached yet' return format_datetime(obj.end_date)
def start_date(obj): return format_datetime(obj.start_date)