diff options
| author | Tim Graham <timograham@gmail.com> | 2014-09-30 13:24:20 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-09-30 13:24:20 -0400 |
| commit | c7b5883c781608f20f42ebedbfc260ea082709d6 (patch) | |
| tree | ef38c2ef6f7e75f7b62e572ca3fa856fea6bce35 /tests/test_utils | |
| parent | f5cfd09c257e5a4ed6d01d32505c48b02e3860d5 (diff) | |
Fixed flake8 warnings.
Diffstat (limited to 'tests/test_utils')
| -rw-r--r-- | tests/test_utils/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_utils/models.py b/tests/test_utils/models.py index b4ce172b27..ca65a9a871 100644 --- a/tests/test_utils/models.py +++ b/tests/test_utils/models.py @@ -1,6 +1,7 @@ from django.db import models from django.utils.encoding import python_2_unicode_compatible + @python_2_unicode_compatible class Car(models.Model): name = models.CharField(max_length=100) @@ -8,6 +9,7 @@ class Car(models.Model): def __str__(self): return self.name + @python_2_unicode_compatible class Person(models.Model): name = models.CharField(max_length=100) @@ -16,6 +18,7 @@ class Person(models.Model): def __str__(self): return self.name + @python_2_unicode_compatible class PossessedCar(models.Model): car = models.ForeignKey(Car) |
