How to have a master detail datatableview in django using MultipleDatatableView

16 Views Asked by At

I'd like to have a master-detail datatableview in my app. I've used MultipleDatatableView according to the document.

I'm confused How to edit the front and add a GET parameter hint (exp: ?datatable=master) . Without using MultipleDatatableView, my code works correctly but when I change it to multiple, it doen't work because of this error:

django.utils.datastructures.MultiValueDictKeyError: 'datatable'

I tried to add datatable=master in the option of datatable, but this doesn't work.

0

There are 0 best solutions below