Reputation: 9
DIV(TABLE(*[TR(response) for response in data],_id='records_table', _class='table table-bordered'),_class='table-responsive'))
using this DIV tag in python controller, I want to download the html table data in csv for which I need to add id.
Please tell me how I can add id in this given line.
Upvotes: 0
Views: 76
Reputation:
You should use in template. You should return rendered data. Div is used in template.
Upvotes: 0