From 9c19aff7c7561e3a82978a272ecdaad40dda5c00 Mon Sep 17 00:00:00 2001 From: django-bot Date: Thu, 3 Feb 2022 20:24:19 +0100 Subject: Refs #33476 -- Reformatted code with Black. --- tests/test_utils/models.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/test_utils/models.py') diff --git a/tests/test_utils/models.py b/tests/test_utils/models.py index 57518aef90..4d91c03a03 100644 --- a/tests/test_utils/models.py +++ b/tests/test_utils/models.py @@ -7,10 +7,12 @@ class Car(models.Model): class Person(models.Model): name = models.CharField(max_length=100) - cars = models.ManyToManyField(Car, through='PossessedCar') + cars = models.ManyToManyField(Car, through="PossessedCar") data = models.BinaryField(null=True) class PossessedCar(models.Model): car = models.ForeignKey(Car, models.CASCADE) - belongs_to = models.ForeignKey(Person, models.CASCADE, related_name='possessed_cars') + belongs_to = models.ForeignKey( + Person, models.CASCADE, related_name="possessed_cars" + ) -- cgit v1.3