summaryrefslogtreecommitdiff
path: root/tests/order_with_respect_to
diff options
context:
space:
mode:
Diffstat (limited to 'tests/order_with_respect_to')
-rw-r--r--tests/order_with_respect_to/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/order_with_respect_to/models.py b/tests/order_with_respect_to/models.py
index 8f50b42252..7f6cd8f8fd 100644
--- a/tests/order_with_respect_to/models.py
+++ b/tests/order_with_respect_to/models.py
@@ -3,7 +3,6 @@ Tests for the order_with_respect_to Meta attribute.
"""
from django.db import models
-from django.utils import six
class Question(models.Model):
@@ -18,7 +17,7 @@ class Answer(models.Model):
order_with_respect_to = 'question'
def __str__(self):
- return six.text_type(self.text)
+ return self.text
class Post(models.Model):