1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #33476 -- Reformatted code with Black.

This commit is contained in:
django-bot
2022-02-03 20:24:19 +01:00
committed by Mariusz Felisiak
parent f68fa8b45d
commit 9c19aff7c7
1992 changed files with 139577 additions and 96284 deletions

View File

@@ -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