AttributeError: '_TaggableManager' object has no attribute 'field'
with django-simple-history
#918
Labels
AttributeError: '_TaggableManager' object has no attribute 'field'
with django-simple-history
#918
I suppose that django-taggit and django-simple-history can work together, but can't figure it out, and can't find a full working example :(
I would like to enable history on the m2m relationship that django-taggit adds to my model, but the
TaggableManager
does not seem to have the necessary fields (?).Using the following model definition:
I get this error:
Although it looks very similar to what django-simple-history shows in the docs:
What makes the
TaggableManager
different from a normalManyToMany
field?What could I do to "trick" simple_history's HistoricalRecords m2m fields inspection?
Thank you for your support and great lib 🙏
Related #501
The text was updated successfully, but these errors were encountered: