mirror of
https://github.com/django/django.git
synced 2025-03-31 11:37:06 +00:00
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…
x
Reference in New Issue
Block a user