mirror of
https://github.com/Hopiu/django.git
synced 2026-05-24 23:03:52 +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
1 changed files with 0 additions and 3 deletions
|
|
@ -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 a new issue