You are working on the django-commons/django-simple-history repository. The source code is checked out at…
You are working on the django-commons/django-simple-history repository. The source code is checked out at…: a task in SWE-Lego-RL-2699 (Harbor dataset). To Reproduce Steps to reproduce the behavior: 1. Given the following model: python class Person(models.Model): relations =…
The task
**To Reproduce** Steps to reproduce the behavior: 1. Given the following model: ```python class Person(models.Model): relations = models.ManyToManyField("self") history = HistoricalRecords(m2m_fields=[relations]) ``` 2. Run the following code (which should also create a historical record for the `Person` object):…
Part of Lego-X/Lego-RL-2699.