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/inline_formsets/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/inline_formsets/models.py') diff --git a/tests/inline_formsets/models.py b/tests/inline_formsets/models.py index 90d434e123..f4c06e8fac 100644 --- a/tests/inline_formsets/models.py +++ b/tests/inline_formsets/models.py @@ -10,8 +10,8 @@ class Parent(models.Model): class Child(models.Model): - mother = models.ForeignKey(Parent, models.CASCADE, related_name='mothers_children') - father = models.ForeignKey(Parent, models.CASCADE, related_name='fathers_children') + mother = models.ForeignKey(Parent, models.CASCADE, related_name="mothers_children") + father = models.ForeignKey(Parent, models.CASCADE, related_name="fathers_children") school = models.ForeignKey(School, models.CASCADE) name = models.CharField(max_length=100) @@ -28,7 +28,7 @@ class Poem(models.Model): name = models.CharField(max_length=100) class Meta: - unique_together = ('poet', 'name') + unique_together = ("poet", "name") def __str__(self): return self.name -- cgit v1.3