Removed unused and incorrect PossessedCar.__str__() method in test_utils.

PossessedCar doesn't have a color.
This commit is contained in:
Mariusz Felisiak 2020-02-14 13:16:17 +01:00 committed by GitHub
parent cd2d508707
commit b330b918e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -19,6 +19,3 @@ class Person(models.Model):
class PossessedCar(models.Model): class PossessedCar(models.Model):
car = models.ForeignKey(Car, models.CASCADE) car = models.ForeignKey(Car, models.CASCADE)
belongs_to = models.ForeignKey(Person, models.CASCADE) belongs_to = models.ForeignKey(Person, models.CASCADE)
def __str__(self):
return self.color