django-datatable
django-datatable copied to clipboard
Multiple tables with ajax_source
I have multiple tables in my app that have different structures. I want all of them to use ajax_source. The only way I would get it to work was to define two url's
url(r'^table/data/$', DataView1.as_view(), name='dataview1'),
url(r'^table2/data/$', DataView2.as_view(), name='dataview2'),
I tried inheritance method but kept on running issues with value of the token variable. Is t here a better way?