#NEWLINE# @ register . render_tag #NEWLINE# def dashboard_column( context , token ) : #NEWLINE# #INDENT# '\n    Takes an index for retrieving the sequence of template tags from\n    ``mezzanine.conf.DASHBOARD_TAGS`` to render into the admin\n    dashboard.\n    ' #NEWLINE# column_index = int ( token . split_contents ( ) [ 1 ] ) #NEWLINE# output = [ ] #NEWLINE# for tag in settings . DASHBOARD_TAGS [ column_index ] : #NEWLINE# #INDENT# t = Template ( ( '{%% load %s %%}{%% %s %%}' % tuple ( tag . split ( '.' ) ) ) ) #NEWLINE# output . append ( t . render ( column_index ) ) #NEWLINE# #UNINDENT# return '' . join ( output )