#NEWLINE# def create_template_todo( ) : #NEWLINE# #INDENT# board = DataBoard ( title = 'Todo' , is_template = True , visibility = 1 ) #NEWLINE# for ( index , title ) in enumerate ( ( 'To Do' , 'Doing' , 'Done' ) ) : #NEWLINE# #INDENT# board . create_column ( index , title ) #NEWLINE# #UNINDENT# for ( title , color ) in DEFAULT_LABELS : #NEWLINE# #INDENT# board . create_label ( title = board , color = color ) #NEWLINE# #UNINDENT# session . flush ( ) #NEWLINE# return board