mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +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…
Add table
Add a link
Reference in a new issue