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

UserWarning should provide more details

Open dyve opened this issue 6 years ago • 1 comments

django_tables2/data.py:167: UserWarning: Table data is of type <class 'class1'> but <class 'class2'> is specified in Table.Meta.model

This warning should provide some sort of stack trace.

dyve avatar Apr 17 '19 12:04 dyve

I replaced Table in the autogenerated tables names with AutogeneratedTable. This is not a complete solution, but will hopefully improve this situation a bit.

jieter avatar Apr 28 '19 07:04 jieter