populate datatable from django json

Solutions on MaxInterview for populate datatable from django json by the best coders in the world

showing results for - "populate datatable from django json"
Candice
31 Apr 2017
1$( "#my-table" ).dataTable({
2    data: {{ my_json_data|safe }},
3  	columns: [
4      {data: 'field_1'},
5  	  // ...	
6      {data: 'field_n'}
7	]
8});