django-datatable icon indicating copy to clipboard operation
django-datatable copied to clipboard

Multiple tables with ajax_source

Open arambadk opened this issue 8 years ago • 0 comments

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?

arambadk avatar May 01 '16 03:05 arambadk