django_baseline/templatetags/helpers.py
def table(rows):
    '''
    Output a simple table with several columns.
    '''

    output = '<table>'

    for row in rows:
        output += '<tr>'
        for column in row:
            output += '<td>{s}</td>'.format(s=column)
        output += '</tr>'

    output += '</table>'

    return output
def table(rows):
    '''
    Output a simple table with several columns.
    '''

    output = '<table>'

    for row in rows:
        output += '<tr>'
        for column in row:
            output += '<td>{s}</td>'.format(s=column)
        output += '</tr>'

    output += '</table>'

    return output
def table ( rows ) : output = '<table>' for row in rows : output += '<tr>' for column in row : output += '<td>{s}</td>' . format ( s = column ) output += '</tr>' output += '</table>' return output
Output a simple table with several columns.
Output a simple table with several columns .