I have problem running django-tables2 (version 2+) with django-crudbuilder. Issue boiled down to Meta model type checking and I found a quick fix - just don't do it. This is fixing the issue and everything is working as expected.
Digging deeer:
Crudbuilder is dynamically creating Table classes, which involves adding meta class dynamically. Currently it's making Meta class derived from plain object, therefore raising TypeError at django-tables2 _check_types() method. I tried to derive Meta class from django Model, but that caused another error.
So is this model check really necessary? Could you please direct me to what I should do to fix this issue?
I have problem running django-tables2 (version 2+) with django-crudbuilder. Issue boiled down to Meta model type checking and I found a quick fix - just don't do it. This is fixing the issue and everything is working as expected.
Digging deeer: Crudbuilder is dynamically creating Table classes, which involves adding meta class dynamically. Currently it's making Meta class derived from plain object, therefore raising TypeError at django-tables2
_check_types()
method. I tried to derive Meta class from django Model, but that caused another error.So is this model check really necessary? Could you please direct me to what I should do to fix this issue?
This isssue is related to #643