【发布时间】:2016-05-20 15:15:11
【问题描述】:
如何使用 django-simple-history 存储 ManyToManyField 的历史记录。我使用了带有属性 m2m_filds 的 HistoricalRecords,但它抛出错误:unexpected keyword argument 'm2m_fields'
【问题讨论】:
-
参数 m2m_fields 是 django-simple-history 的一个分支的一部分,而不是 django-simple-history 本身的一部分。
标签: python django history manytomanyfield django-simple-history