Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 27, 2023
1 parent a9a7f30 commit 5a11001
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion simple_history/tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ class PollWithManyToMany(models.Model):

class PollWithManyToManyThroughFields(models.Model):
question = models.CharField(max_length=200)
people = models.ManyToManyField("Place", through="Venue", through_fields=("place", "guest"))
people = models.ManyToManyField(
"Place", through="Venue", through_fields=("place", "guest")
)

history = HistoricalRecords(m2m_fields=[people])

Expand Down

0 comments on commit 5a11001

Please sign in to comment.