-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with django-simple-history anymore #643
Comments
I think this error is causing more Harm than good. Maybe we should consider using a warning instead? |
Well maybe gradually, in a defined future version, throw an error but for now a warning with some clear meaning would help. |
@ArkNieckarz I was going to say you should try to put |
released 2.0.4 |
Hi @ArkNieckarz, |
Get error: ValueError: table data is of type <class 'App.models.HistoricalContactActivity'> but <class 'App.models.ContactActivity'> is specified in Table.Meta.model
Basically set_table in TableQuerysetData (in data.py) checks for self.model != table._meta.model which brakes tables with historical "field" in it.
How to set the class meta model of the history model of a concrete model class?
The text was updated successfully, but these errors were encountered: