summaryrefslogtreecommitdiff
path: root/tests/order_with_respect_to
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-12-29 16:27:49 +0100
committerClaude Paroz <claude@2xlibre.net>2017-01-18 20:18:46 +0100
commit7b2f2e74adb36a4334e83130f6abc2f79d395235 (patch)
tree313387ba6a6f1311b43cf5fb4f2576d2d6c4f805 /tests/order_with_respect_to
parentf6acd1d271122d66de8061e75ae26137ddf02658 (diff)
downloaddjango-7b2f2e74adb36a4334e83130f6abc2f79d395235.tar.gz
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
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):