From c7b5883c781608f20f42ebedbfc260ea082709d6 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 30 Sep 2014 13:24:20 -0400 Subject: [PATCH] Fixed flake8 warnings. --- tests/test_utils/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_utils/models.py b/tests/test_utils/models.py index b4ce172b277..ca65a9a8715 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)