Removed unused and incorrect PossessedCar.__str__() method in test_utils.
PossessedCar doesn't have a color.
This commit is contained in:
parent
cd2d508707
commit
b330b918e9
|
@ -19,6 +19,3 @@ class Person(models.Model):
|
|||
class PossessedCar(models.Model):
|
||||
car = models.ForeignKey(Car, models.CASCADE)
|
||||
belongs_to = models.ForeignKey(Person, models.CASCADE)
|
||||
|
||||
def __str__(self):
|
||||
return self.color
|
||||
|
|
Loading…
Reference in New Issue