diff options
author | Jason Myers <jason@jasonamyers.com> | 2013-11-02 16:34:05 -0500 |
---|---|---|
committer | Jason Myers <jason@jasonamyers.com> | 2013-11-02 23:48:47 -0500 |
commit | c3791463a5a9674f8e0148fbab57eae23c138896 (patch) | |
tree | 6606acdb74132a344a49e910dec5d0356389a569 /tests/order_with_respect_to | |
parent | 2a03a9a9a1c4517be75e72899e545b0bc9dd0688 (diff) | |
download | django-c3791463a5a9674f8e0148fbab57eae23c138896.tar.gz |
Fixing E302 Errors
Signed-off-by: Jason Myers <jason@jasonamyers.com>
Diffstat (limited to 'tests/order_with_respect_to')
-rw-r--r-- | tests/order_with_respect_to/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/order_with_respect_to/models.py b/tests/order_with_respect_to/models.py index 06bb56b141..18dbd08dbc 100644 --- a/tests/order_with_respect_to/models.py +++ b/tests/order_with_respect_to/models.py @@ -10,6 +10,7 @@ from django.utils.encoding import python_2_unicode_compatible class Question(models.Model): text = models.CharField(max_length=200) + @python_2_unicode_compatible class Answer(models.Model): text = models.CharField(max_length=200) @@ -21,6 +22,7 @@ class Answer(models.Model): def __str__(self): return six.text_type(self.text) + @python_2_unicode_compatible class Post(models.Model): title = models.CharField(max_length=200) |