--- a/__init__.py Thu Jul 23 15:29:07 2009 +0200 +++ b/__init__.py Thu Jul 23 15:33:03 2009 +0200 @@ -300,3 +300,6 @@ except AttributeError: return neg_role(obj.role) +def underline_title(title, car='-'): + return title+'\n'+(car*len(title)) +